java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.postgresql.pljava.Adapter.AdapterException
- All Implemented Interfaces:
Serializable
A lightweight unchecked exception used to wrap checked ones
(often
SQLException
) in settings where checked ones are a bother.
The idea may or may not be worth keeping, and either way, this particular exception might not be part of any final API.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
unwrap
Unwraps this wrapper's cause and returns it, if it is an instance of the exception type declared; otherwise, just throws this wrapper again.
-