org.cementj.base
Class ApplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.cementj.base.ApplicationException
- All Implemented Interfaces:
- java.io.Serializable
public abstract class ApplicationException
- extends java.lang.Exception
- implements java.io.Serializable
Provides a generic exception for commercial applications that will retain
and provide information about the underlying exception.
Note that java.lang.ThreadDeath should not be "converted" into another
exception. If ThreadDeath is passed on construction, it will be re-thrown.
An example implementation follows:
public class MyException extends ApplicationException
{
protected MyException() {}
public MyException(String message) {super(message);}
public MyException(String message, Throwable t) {super(message, t);}
}
Copyright: Delta Vortex Technologies, 2002.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationException
protected ApplicationException()
ApplicationException
protected ApplicationException(java.lang.String message)
ApplicationException
protected ApplicationException(java.lang.String message,
java.lang.Throwable t)
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
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in class java.lang.Throwable
getBaseThrowable
public java.lang.Throwable getBaseThrowable()
Copyright © 2003 Delta Vortex Technologies, Inc. All Rights Reserved.