Class HandleWithFirstCapableAncestorStrategy
- java.lang.Object
-
- org.tensorics.core.resolve.options.AbstractExceptionHandlingStrategy
-
- org.tensorics.core.resolve.options.HandleWithFirstCapableAncestorStrategy
-
- All Implemented Interfaces:
Option<ResolvingOption>
,ExceptionHandlingStrategy
,ResolvingOption
public class HandleWithFirstCapableAncestorStrategy extends AbstractExceptionHandlingStrategy
When this strategy is used in the dispatcher, then the exceptions which appear at some node, are handled in the first node above which can handle the exception. This handling node is then resolved to an appropriate result and the tree below is not processed further.
-
-
Constructor Summary
Constructors Constructor Description HandleWithFirstCapableAncestorStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleWithRootNodeFailingNodeException(ExceptionHandlingRequest parameterObject)
Checks to see if there are nodes to handle each exception that occured during the processing.-
Methods inherited from class org.tensorics.core.resolve.options.AbstractExceptionHandlingStrategy
getMarkerInterface
-
-
-
-
Method Detail
-
handleWithRootNodeFailingNodeException
public void handleWithRootNodeFailingNodeException(ExceptionHandlingRequest parameterObject)
Checks to see if there are nodes to handle each exception that occured during the processing. If not aResolvingException
is thrown.
-
-