Class NodeTypeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
uk.blankaspect.common.basictree.NodeTypeException
All Implemented Interfaces:
Serializable

public class NodeTypeException extends RuntimeException
This class implements an unchecked exception that is associated with a node type.
See Also:
  • Constructor Details

    • NodeTypeException

      public NodeTypeException(NodeType nodeType)
      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

      public NodeType getNodeType()
      Returns the node type that is associated with this exception.
      Returns:
      the node type that is associated with this exception.