Class UncheckedSQLException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.marschall.storedprocedureproxy.UncheckedSQLException
-
- All Implemented Interfaces:
Serializable
public final class UncheckedSQLException extends RuntimeException
Wraps anSQLException
with an unchecked exception.- See Also:
UncheckedIOException
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLException
getCause()
Convenience method that returns the cause as typeSQLException
avoiding the need to cast the result.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCause
public SQLException getCause()
Convenience method that returns the cause as typeSQLException
avoiding the need to cast the result.
-
-