Package sim.util
Class CausedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sim.util.CausedRuntimeException
- All Implemented Interfaces:
Serializable
Deprecated.
Use standard RuntimeExceptions in Java 1.4 now
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.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
Deprecated.CausedRuntimeException
(Throwable target) Deprecated.CausedRuntimeException
(Throwable target, String message) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.void
printStackTrace
(PrintStream stream) Deprecated.void
printStackTrace
(PrintWriter stream) Deprecated.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Constructor Details
-
CausedRuntimeException
protected CausedRuntimeException()Deprecated. -
CausedRuntimeException
Deprecated. -
CausedRuntimeException
Deprecated.
-
-
Method Details
-
printStackTrace
Deprecated.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
Deprecated.- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
public void printStackTrace()Deprecated.- Overrides:
printStackTrace
in classThrowable
-