Class ExceptionHandlingRequest
- java.lang.Object
-
- org.tensorics.core.resolve.domain.ExceptionHandlingRequest
-
public final class ExceptionHandlingRequest extends java.lang.Object
Describes the situation that at some point in the expression tree an exception occured which probably should be handled. It contains the information about- the root node of the tree
- the node, where the exception occures
- the eception itself
- and the context, which should be modified as soon as the exception will be handled
This class is immutable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExceptionHandlingRequest.Builder
The builder for an exception handling request.
-
Constructor Summary
Constructors Constructor Description ExceptionHandlingRequest(ExceptionHandlingRequest.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExceptionHandlingRequest.Builder
builder()
EditableResolvingContext
getContext()
java.lang.RuntimeException
getException()
Node
getRootNode()
Node
getThrowingNode()
-
-
-
Constructor Detail
-
ExceptionHandlingRequest
public ExceptionHandlingRequest(ExceptionHandlingRequest.Builder builder)
-
-
Method Detail
-
builder
public static ExceptionHandlingRequest.Builder builder()
-
getRootNode
public Node getRootNode()
-
getException
public java.lang.RuntimeException getException()
-
getContext
public EditableResolvingContext getContext()
-
getThrowingNode
public Node getThrowingNode()
-
-