org.melati.util
Class MelatiException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.melati.util.MelatiException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CharsetException, InvalidUsageException, NotFoundException, PropertyException, ReconstructedHttpServletRequestMismatchException

public abstract class MelatiException
extends java.lang.Exception

Abstract base class for all Exceptions within Melati.

See Also:
Serialized Form

Field Summary
 java.lang.Exception subException
          A sub-exception we may be wrapping, otherwise null.
 
Constructor Summary
MelatiException()
          Constructor.
MelatiException(java.lang.Exception subException)
          Constructor with sub-exception.
MelatiException(java.lang.String message)
          Constructor with message.
MelatiException(java.lang.String message, java.lang.Exception subException)
          Constructor with message and pre-java 1.4 initial cause.
 
Method Summary
 java.lang.String getMessage()
          
 java.lang.Exception innermostException()
           
 void printStackTrace()
          
 void printStackTrace(java.io.PrintStream s)
          
 void printStackTrace(java.io.PrintWriter w)
          
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

subException

public java.lang.Exception subException
A sub-exception we may be wrapping, otherwise null.

Constructor Detail

MelatiException

public MelatiException(java.lang.Exception subException)
Constructor with sub-exception.


MelatiException

public MelatiException(java.lang.String message,
                       java.lang.Exception subException)
Constructor with message and pre-java 1.4 initial cause.


MelatiException

public MelatiException()
Constructor.


MelatiException

public MelatiException(java.lang.String message)
Constructor with message.

Parameters:
message - a text
Method Detail

getMessage

public java.lang.String getMessage()

Overrides:
getMessage in class java.lang.Throwable
See Also:
Throwable.getMessage()

innermostException

public java.lang.Exception innermostException()
Returns:
the actual cause

printStackTrace

public void printStackTrace()

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace()

printStackTrace

public void printStackTrace(java.io.PrintStream s)

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(java.io.PrintWriter w)

Overrides:
printStackTrace in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintWriter)


Copyright © 2000-2008 PanEris. All Rights Reserved.