Package org.apache.derby.iapi.error
Class PassThroughException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.derby.iapi.error.PassThroughException
- All Implemented Interfaces:
Serializable
Unchecked exception class that can be used to pass checked exceptions out
of methods that are not declared to throw any checked exception.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPassThroughException
(Throwable cause) Wrap aThrowable
in this unchecked exception to allow it to pass through methods that are not declared to raise this kind of condition. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PassThroughException
Wrap aThrowable
in this unchecked exception to allow it to pass through methods that are not declared to raise this kind of condition.- Parameters:
cause
- theThrowable
to pass through
-