Class RethrowExceptionHandlingStrategy

  • All Implemented Interfaces:
    Option<ResolvingOption>, ExceptionHandlingStrategy, ResolvingOption

    public class RethrowExceptionHandlingStrategy
    extends AbstractExceptionHandlingStrategy
    This strategy, strictly speaking, does not really handle the exceptions resulting from nodes, but rethrows a resolving exception containing the original one. While, usually, in a production environment one might rarely use such a strategy, it is wealthy in a testing environment, where it should be avoided that newly introduced bugs might be swallowed by 'too defensive' exception handling.
    • Constructor Detail

      • RethrowExceptionHandlingStrategy

        public RethrowExceptionHandlingStrategy()
    • Method Detail

      • handleWithRootNodeFailingNodeException

        public void handleWithRootNodeFailingNodeException​(ExceptionHandlingRequest parameterObject)