|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object extended byjava.lang.Throwable extended byjava.lang.Exception extended byjava.lang.RuntimeException extended byptolemy.kernel.util.KernelRuntimeException extended byptolemy.kernel.util.InvalidStateException
Some object or set of objects has a state that is not permitted. E.g., a NamedObj has a null name. Or a topology has inconsistent or contradictory information in it, e.g. an entity contains a port that has a different entity as it container. Our design should make it impossible for this exception to ever occur, so occurrence is a bug.
| Constructor Summary | |
InvalidStateException(java.util.Collection objects,
java.lang.String detail)
Constructs an exception with a detail message that includes the names of a collection of nameable objects plus the argument string. |
|
InvalidStateException(java.util.Collection objects,
java.lang.Throwable cause,
java.lang.String detail)
Constructs an exception with a detail message that includes the names of a collection of nameable objects plus the argument string. |
|
InvalidStateException(java.util.Enumeration objects,
java.lang.String detail)
Deprecated. Use InvalidStateException(Collection, String) instead. |
|
InvalidStateException(Nameable object1,
Nameable object2,
java.lang.String detail)
Construct an exception with a detail message that includes the names of the first two arguments plus the third argument string. |
|
InvalidStateException(Nameable object1,
Nameable object2,
java.lang.Throwable cause,
java.lang.String detail)
Construct an exception with a detail message that includes the names of the first two arguments plus the third argument string. |
|
InvalidStateException(Nameable object,
java.lang.String detail)
Construct an exception with a detail message that includes the name of the first argument and the second argument string. |
|
InvalidStateException(Nameable object,
java.lang.Throwable cause,
java.lang.String detail)
Construct an exception with a detail message that includes the name of the first argument, the cause and the third argument string. |
|
InvalidStateException(java.lang.String detail)
Construct an exception with only a detail message. |
|
| Methods inherited from class ptolemy.kernel.util.KernelRuntimeException |
_setCause, _setMessage, getCause, getMessage, printStackTrace, printStackTrace, printStackTrace |
| 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 |
public InvalidStateException(java.lang.String detail)
detail - The message.public InvalidStateException(Nameable object, java.lang.Throwable cause, java.lang.String detail)
object - The nameable object involved in the exceptioncause - The cause of this exception.detail - The message.public InvalidStateException(Nameable object, java.lang.String detail)
object - The object.detail - The message.public InvalidStateException(Nameable object1, Nameable object2, java.lang.String detail)
object1 - The first object.object2 - The second object.detail - The message.public InvalidStateException(Nameable object1, Nameable object2, java.lang.Throwable cause, java.lang.String detail)
object1 - The first object.object2 - The second object.cause - The cause of this exception.detail - The message.public InvalidStateException(java.util.Enumeration objects, java.lang.String detail)
objects - The enumeration of Nameable objectsdetail - The message.public InvalidStateException(java.util.Collection objects, java.lang.String detail)
objects - The Collection of Nameable objectsdetail - The message.public InvalidStateException(java.util.Collection objects, java.lang.Throwable cause, java.lang.String detail)
objects - The Collection of Nameable objectscause - The cause of this exception.detail - The message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||