Package uk.blankaspect.common.basictree
Class NodeTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.blankaspect.common.basictree.NodeTypeException
- All Implemented Interfaces:
Serializable
This class implements an unchecked exception that is associated with a node type.
- See Also:
-
Constructor Summary
ConstructorDescriptionNodeTypeException
(NodeType nodeType) Creates a new instance of an exception that is associated with the specified node type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the node type that is associated with this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NodeTypeException
Creates a new instance of an exception that is associated with the specified node type.- Parameters:
nodeType
- the node type that will be associated with this exception.
-
-
Method Details
-
getNodeType
Returns the node type that is associated with this exception.- Returns:
- the node type that is associated with this exception.
-