|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ptolemy.kernel.util.KernelRuntimeException
ptolemy.kernel.util.InternalErrorException
public class InternalErrorException
This exception should be thrown if an unexpected error is encountered other than one for which InvalidStateException would be appropriate. Our design should make it impossible for this exception to ever occur, so occurrence is a bug. This exception is a RuntimeException so that it does not have to be declared.
Green (cxh) |
Green (cxh) |
Constructor Summary | |
---|---|
InternalErrorException(Nameable object,
Nameable object2,
java.lang.Throwable cause,
java.lang.String detail)
Construct an exception with a detail message that includes the names of the first argument, the name of the second argument and the value of the third argument. |
|
InternalErrorException(Nameable object,
java.lang.Throwable cause,
java.lang.String detail)
Construct an exception with a detail message that includes the names of the first argument plus the third argument string. |
|
InternalErrorException(java.lang.String detail)
Construct an exception with a detail message. |
|
InternalErrorException(java.lang.Throwable cause)
Construct an exception with only a cause. |
Method Summary |
---|
Methods inherited from class ptolemy.kernel.util.KernelRuntimeException |
---|
_setCause, _setMessage, getCause, getMessage, getNameables, 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 InternalErrorException(java.lang.String detail)
detail
- The message.public InternalErrorException(java.lang.Throwable cause)
This constructor is commonly used when we want to catch an exception and rethrow it as a RuntimeException so that the method where the exception is thrown need not declare that this method throws the initial exception.
cause
- The cause of this exception.public InternalErrorException(Nameable object, java.lang.Throwable cause, java.lang.String detail)
object
- The object associated with this exception.cause
- The cause of this exception.detail
- The message.public InternalErrorException(Nameable object, Nameable object2, java.lang.Throwable cause, java.lang.String detail)
object
- The first object associated with this exception.object2
- The second object associated with this exception.cause
- 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 |