Package sim.util

Class CausedRuntimeException

All Implemented Interfaces:
Serializable

public class CausedRuntimeException extends RuntimeException
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 Details

    • CausedRuntimeException

      protected CausedRuntimeException()
      Deprecated.
    • CausedRuntimeException

      public CausedRuntimeException(Throwable target)
      Deprecated.
    • CausedRuntimeException

      public CausedRuntimeException(Throwable target, String message)
      Deprecated.
  • Method Details