|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sim.util.CausedRuntimeException
public class CausedRuntimeException
A simple RuntimeException which wraps a deeper exception inside of it and prints it in a fashion similar to exceptions like InvocationTargetException. This exception is largely obviated by the 'cause' mechanism in Java 1.4 Throwables -- but Java 1.3 doesn't have it and thus we need it.
Constructor Summary | |
---|---|
protected |
CausedRuntimeException()
Deprecated. |
|
CausedRuntimeException(java.lang.Throwable target)
Deprecated. |
|
CausedRuntimeException(java.lang.Throwable target,
java.lang.String message)
Deprecated. |
Method Summary | |
---|---|
void |
printStackTrace()
Deprecated. |
void |
printStackTrace(java.io.PrintStream stream)
Deprecated. |
void |
printStackTrace(java.io.PrintWriter stream)
Deprecated. |
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 |
Constructor Detail |
---|
protected CausedRuntimeException()
public CausedRuntimeException(java.lang.Throwable target)
public CausedRuntimeException(java.lang.Throwable target, java.lang.String message)
Method Detail |
---|
public void printStackTrace(java.io.PrintStream stream)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter stream)
printStackTrace
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |