net.trajano.twiff
Class TwiffException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.trajano.twiff.TwiffException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContainerBuilderException, InstantiationException, InvalidTokenException, MissingInitialParameterException, MissingSessionException, MissingTokenException, UnprocessedException

public class TwiffException
extends RuntimeException

Superclass of all exceptions in the Twiff framework.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
TwiffException()
          Construct a new exception with no cause and no detail message.
TwiffException(String message)
          Construct a new exception with no cause and the specified detail message.
TwiffException(String message, Throwable cause)
          Construct a new exception with the specified cause and the specified detail message.
TwiffException(Throwable cause)
          Construct a new exception with the specified cause and no detail message.
 
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

TwiffException

public TwiffException()
Construct a new exception with no cause and no detail message.


TwiffException

public TwiffException(String message)
Construct a new exception with no cause and the specified detail message.

Parameters:
message - the message detailing the exception

TwiffException

public TwiffException(String message,
                      Throwable cause)
Construct a new exception with the specified cause and the specified detail message.

Parameters:
message - the message detailing the exception
cause - the exception that caused this one

TwiffException

public TwiffException(Throwable cause)
Construct a new exception with the specified cause and no detail message.

Parameters:
cause - the exception that caused this one.


Copyright © 2004-2005 trajano.net. All Rights Reserved.