|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.waveset.util.ExceptionWrapper
com.waveset.util.WavesetException
com.waveset.util.InternalError
A common class for various "internal" errors for which we don't want to have specific exception classes.
Should we have an error code too?
Don't bother trying to internationalize these with Message objects, these are used for all those "can't happen" errors.
Field Summary | |
static java.lang.String |
code_id
|
Constructor Summary | |
InternalError()
Construct a ExceptionWrapper with no message or nested throwable. |
|
InternalError(Message message)
Construct a new InternalError with a detailed message. |
|
InternalError(Message message,
java.lang.Throwable e)
Create a new InternalError from an existing exception. |
|
InternalError(java.lang.String message)
Construct a new InternalError with a detailed message. |
|
InternalError(java.lang.String message,
java.lang.Throwable e)
Create a new InternalError from an existing exception. |
|
InternalError(java.lang.Throwable e)
Construct a new InternalError wrapping an existing exception. |
Methods inherited from class com.waveset.util.WavesetException |
addMessage, addMessage, breakpoint, checkBreakpoint, enableBreakpoint, getLocalizedMessage, getLocalizedMessage, getMessage, getMessage, getMessage, getMessageObject, getMessageObject, getMessageOnly, getMessages |
Methods inherited from class com.waveset.util.ExceptionWrapper |
addException, clearExceptions, describeException, getAllMessages, getException, getException, getExceptionCount, hasException, printStackTrace, printStackTrace, printStackTrace, removeException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String code_id
Constructor Detail |
public InternalError()
public InternalError(java.lang.String message)
public InternalError(Message message)
public InternalError(java.lang.Throwable e)
The existing exception will be embedded in the new one, and its message will become the default message for the InternalError.
public InternalError(java.lang.String message, java.lang.Throwable e)
The existing exception will be embedded in the new one, but the new exception will have its own message.
public InternalError(Message message, java.lang.Throwable e)
The existing exception will be embedded in the new one, but the new exception will have its own message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |