org.melati.util
Class UnexpectedExceptionException

Package class diagram package UnexpectedExceptionException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.poem.PoemException
                  extended by org.melati.util.MelatiRuntimeException
                      extended by org.melati.util.UnexpectedExceptionException
All Implemented Interfaces:
Serializable

public class UnexpectedExceptionException
extends MelatiRuntimeException

Thrown if an internal assumption about Melati is violated.

Author:
WilliamC At paneris.org
See Also:
MelatiBugMelatiException, Serialized Form

Field Summary
 String context
          A descriptive String giving some context.
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
UnexpectedExceptionException(Exception exception)
          Constructor.
UnexpectedExceptionException(String context, Exception exception)
          Constructor.
 
Method Summary
 String getMessage()
          The detail message which may be null.
 
Methods inherited from class org.melati.util.MelatiRuntimeException
innermostException
 
Methods inherited from class org.melati.poem.PoemException
getCoreMessage, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

public String context
A descriptive String giving some context.

Constructor Detail

UnexpectedExceptionException

public UnexpectedExceptionException(String context,
                                    Exception exception)
Constructor.


UnexpectedExceptionException

public UnexpectedExceptionException(Exception exception)
Constructor.

Method Detail

getMessage

public String getMessage()
Description copied from class: PoemException
The detail message which may be null.

Overrides:
getMessage in class PoemException
Returns:
The detail message.
See Also:
Throwable.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.