Class ThincException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ExceptionWrapper
ThincException
- All Implemented Interfaces:
- java.io.Serializable, WrappableException
public class ThincException
- extends ExceptionWrapper
ThincException. Base exception for all ThincExceptions, which are checked.
- Version:
- $Revision: 1.2 $
- Author:
- Leo Kim (lnk2101@columbia.edu)
- See Also:
ExceptionWrapper
,
Serialized Form
Constructor Summary |
ThincException(java.lang.Exception e)
Allow an enclosed exception to hold the details of the context of this
exception. |
ThincException(java.lang.String message)
Allow printing a message regarding details of the context of this
exception. |
ThincException(java.lang.String message,
java.lang.Exception e)
Allow an enclosed exception to hold a message and the details of the
context of this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThincException
public ThincException(java.lang.String message)
- Allow printing a message regarding details of the context of this
exception.
- Parameters:
message
- the message to display when
Throwable.getMessage()
is used.
ThincException
public ThincException(java.lang.Exception e)
- Allow an enclosed exception to hold the details of the context of this
exception.
- Parameters:
e
- the exception to enclose
ThincException
public ThincException(java.lang.String message,
java.lang.Exception e)
- Allow an enclosed exception to hold a message and the details of the
context of this exception.
- Parameters:
message
- the message to display when getMessage is
used.e
- the exception to enclose