Package ptolemy.actor
Class InvariantViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ptolemy.kernel.util.KernelException
-
- ptolemy.kernel.util.IllegalActionException
-
- ptolemy.actor.InvariantViolationException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvariantViolationException extends IllegalActionException
Thrown when an invariant is violated.- Since:
- Ptolemy II 4.0
- Version:
- $Id$
- Author:
- Haiyang Zheng
- See Also:
- Serialized Form
- Pt.AcceptedRating:
- Red (hyzheng)
- Pt.ProposedRating:
- Red (hyzheng)
-
-
Constructor Summary
Constructors Constructor Description InvariantViolationException(java.lang.String detail)
Construct an exception with a detail message.InvariantViolationException(Nameable object, java.lang.String detail)
Construct an exception with a detail message that includes the name of the first argument.
-
Method Summary
-
Methods inherited from class ptolemy.kernel.util.KernelException
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, getNameable1, getNameable2, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
-
-
-
-
Constructor Detail
-
InvariantViolationException
public InvariantViolationException(java.lang.String detail)
Construct an exception with a detail message.- Parameters:
detail
- The message.
-
InvariantViolationException
public InvariantViolationException(Nameable object, java.lang.String detail)
Construct an exception with a detail message that includes the name of the first argument.- Parameters:
object
- The object.detail
- The message.
-
-