Package ptolemy.data.expr
Class UndefinedConstantOrIdentifierException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ptolemy.kernel.util.KernelException
-
- ptolemy.kernel.util.IllegalActionException
-
- ptolemy.data.expr.UndefinedConstantOrIdentifierException
-
- All Implemented Interfaces:
java.io.Serializable
public class UndefinedConstantOrIdentifierException extends IllegalActionException
Thrown on an attempt to evaluate an expression that contains an unknown constant or identifier.This exception is used to catch missing constants or identifiers during cut and paste operations by
ParseTreeEvaluator.visitLeafNode(ptolemy.data.expr.ASTPtLeafNode)
.- Since:
- Ptolemy II 6.1
- Version:
- $Id$
- Author:
- Christopher Brooks
- See Also:
- Serialized Form
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Constructor Summary
Constructors Constructor Description UndefinedConstantOrIdentifierException(java.lang.String nodeName)
Constructs an Exception with a detail message that includes the name of the first argument.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
nodeName()
Return the node name that caused the exception.-
Methods inherited from class ptolemy.kernel.util.KernelException
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, getNameable1, getNameable2, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
-
-