org.cementj.base
Class ApplicationRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cementj.base.ApplicationRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DataNotFoundException, ImproperUsageException, InternalApplicationException, ResourceException, TransactionException
public abstract class ApplicationRuntimeException
- extends java.lang.RuntimeException
- implements java.io.Serializable
Provides a generic runtime 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 ApplicationRuntimeException
{
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 |
ApplicationRuntimeException
protected ApplicationRuntimeException()
ApplicationRuntimeException
protected ApplicationRuntimeException(java.lang.String message)
ApplicationRuntimeException
protected ApplicationRuntimeException(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.