com.iplanet.jato.util
Class WrapperException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.iplanet.jato.util.WrapperException
- All Implemented Interfaces:
- RootCauseException, java.io.Serializable
- Direct Known Subclasses:
- CommandException, InvalidContextException, ModelControlException
- public class WrapperException
- extends java.lang.Exception
- implements RootCauseException
Baseclass providing exception and stacktrace formatting, optional
constructors and implementation for RootCauseException
.
Used by both framework and application level exceptions which
encapsulate a root cause exception and need to be classified
as a RootCauseException.
- Version:
- JATO/1.2.2 $Id: WrapperException.java,v 1.10 2002/03/16 03:26:39 todd Exp $
- See Also:
WrapperRuntimeException
, Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WrapperException
public WrapperException()
WrapperException
public WrapperException(java.lang.String message)
WrapperException
public WrapperException(java.lang.Throwable rootCause)
WrapperException
public WrapperException(java.lang.String message,
java.lang.Throwable rootCause)
getRootCause
public java.lang.Throwable getRootCause()
- Description copied from interface:
RootCauseException
- Accessor for the 'root cause' exception which is the primary event
or driver of this exception.
- Specified by:
getRootCause
in interface RootCauseException
- Following copied from interface:
com.iplanet.jato.util.RootCauseException
- Returns:
- encapsulated exception which is the 'root' or primary cause
getException
public java.lang.Throwable getException()
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in class java.lang.Throwable
printStackTrace
public void printStackTrace()
- Overrides:
printStackTrace
in class java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable