org.melati.servlet
Class TrappedException

Package class diagram package TrappedException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.melati.servlet.TrappedException
All Implemented Interfaces:
Serializable

public class TrappedException
extends RuntimeException

If we have to turn an exception into a runtime exception, we do it using a TrappedException.

See Also:
Serialized Form

Constructor Summary
TrappedException(String message, Throwable cause)
          Constructor.
TrappedException(Throwable cause)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrappedException

public TrappedException(Throwable cause)
Constructor.

Parameters:
cause -

TrappedException

public TrappedException(String message,
                        Throwable cause)
Constructor.

Parameters:
message -
cause -


Copyright © 2000-2010 PanEris. All Rights Reserved.