Class ErrorNodeException
Object
Throwable
Exception
AnchorCheckedException
ErrorNodeException
- All Implemented Interfaces:
Serializable
An exception that adds a string to the current error node.
This exception is used to propagate errors while also allowing them to be added to an ErrorNode.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ErrorNodeException from another exception.ErrorNodeException
(String str) Constructs a new ErrorNodeException with the specified error message. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToErrorNode
(ErrorNode errorNode) Adds the error message associated with this exception to an ErrorNode.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ErrorNodeException
Constructs a new ErrorNodeException with the specified error message.- Parameters:
str
- the error message
-
ErrorNodeException
Constructs a new ErrorNodeException from another exception.- Parameters:
e
- the exception to convert into an ErrorNodeException
-
-
Method Details
-
addToErrorNode
Adds the error message associated with this exception to an ErrorNode.- Parameters:
errorNode
- the ErrorNode to which the error message should be added
-