ptolemy.actor
Class InvariantViolationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byptolemy.kernel.util.KernelException
              extended byptolemy.kernel.util.IllegalActionException
                  extended byptolemy.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: InvariantViolationException.java,v 1.7 2004/04/13 02:57:51 cxh Exp $
Author:
Haiyang Zheng
See Also:
Serialized Form
Accepted Rating:
Red (hyzheng)
Proposed Rating:
Red (hyzheng)

Constructor Summary
InvariantViolationException(Nameable object, java.lang.String detail)
          Construct an exception with a detail message that includes the name of the first argument.
InvariantViolationException(java.lang.String detail)
          Construct an exception with a detail message.
 
Methods inherited from class ptolemy.kernel.util.KernelException
_setCause, _setMessage, generateMessage, generateMessage, generateMessage, getCause, getFullName, getMessage, getName, printStackTrace, printStackTrace, printStackTrace, stackTraceToString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.