Package org.tensorics.core.tree.domain
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
handle(java.lang.Exception exception)
-
Methods inherited from interface org.tensorics.core.tree.domain.Expression
get, isResolved
-
Methods inherited from interface org.tensorics.core.tree.domain.Node
getChildren
-
-
-
-
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.
-
-