org.melati.util
Class BugException

Package class diagram package BugException
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.BugException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ThrowingPrintWriter.SuperUseException

public class BugException
extends MelatiRuntimeException

Thrown when a programmer attempts to do something which is possible but wrong.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.poem.PoemException
subException
 
Constructor Summary
BugException(String message)
          Constructor with message.
BugException(String message, Exception e)
          Constructor with message and exception.
 
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
 

Constructor Detail

BugException

public BugException(String message)
Constructor with message.

Parameters:
message -

BugException

public BugException(String message,
                    Exception e)
Constructor with message and exception.

Parameters:
message - the message
e - the exception
Method Detail

getMessage

public String getMessage()
The detail message which may be null.

Overrides:
getMessage in class PoemException
See Also:
PoemException.getMessage()


Copyright © 2000-2010 PanEris. All Rights Reserved.