protected void execute(OperationContext operationContext, ResultHandler resultHandler, PathTemplateFilter filter) {
BindingProvider bindingProvider = operationContext.getBindingProvider();
Marshaller<PageNavigation> marshaller = bindingProvider.getMarshaller(PageNavigation.class, ContentType.XML);
final ManagedResource resource = operationContext.getManagedResource();
final PathAddress address = operationContext.getAddress();
final String operationName = operationContext.getOperationName();
StepResultHandler<PageNavigation> stepResultHandler = new StepResultHandler<PageNavigation>(address) {
@Override
public void failed(String failureDescription) {
if (address.equals(getCurrentAddress())) {
throw new OperationException(operationName, "Navigation export failed. Reason: " + failureDescription);
} else {
throw new OperationException(operationName, "Navigation export failed. Reason: " + failureDescription
+ " [Step Address: " + getCurrentAddress() + "]");
}