com.waveset.util
Class InternalError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.waveset.util.ExceptionWrapper
              extended bycom.waveset.util.WavesetException
                  extended bycom.waveset.util.InternalError
All Implemented Interfaces:
java.io.Serializable

public class InternalError
extends WavesetException

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.

See Also:
Serialized Form

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

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

InternalError

public InternalError()
Construct a ExceptionWrapper with no message or nested throwable.


InternalError

public InternalError(java.lang.String message)
Construct a new InternalError with a detailed message.


InternalError

public InternalError(Message message)
Construct a new InternalError with a detailed message.


InternalError

public InternalError(java.lang.Throwable e)
Construct a new InternalError wrapping an existing exception.

The existing exception will be embedded in the new one, and its message will become the default message for the InternalError.


InternalError

public InternalError(java.lang.String message,
                     java.lang.Throwable e)
Create a new InternalError from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.


InternalError

public InternalError(Message message,
                     java.lang.Throwable e)
Create a new InternalError from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.