Interface ExceptionHandlingNode<R>

  • Type Parameters:
    R - type of handled return type.
    All Superinterfaces:
    Expression<R>, Node, java.io.Serializable
    All Known Implementing Classes:
    AssertionExpression

    public interface ExceptionHandlingNode<R>
    extends Expression<R>
    Interface for node that can ultimately handle exception propagation from bottom nodes.
    • Method Detail

      • handle

        R handle​(java.lang.Exception exception)
        Parameters:
        exception - to handle, usually comes from bottom nodes
        Returns:
        a resolved value that shall be used instead of the respective node.