Package org.kiwiproject.jdbc
Class UncheckedSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kiwiproject.jdbc.UncheckedSQLException
- All Implemented Interfaces:
Serializable
Unchecked exception that wraps a
SQLException.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUncheckedSQLException(String message, SQLException cause) Constructs an instance of this class.Constructs an instance of this class. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncheckedSQLException
Constructs an instance of this class.- Parameters:
message- the detail messagecause- theSQLExceptionwhich is the cause
-
UncheckedSQLException
Constructs an instance of this class.- Parameters:
cause- theSQLExceptionwhich is the cause
-
-
Method Details
-
getCause
Returns the cause of this exception.- Overrides:
getCausein classThrowable- Returns:
- the
SQLExceptionwhich is the cause of this exception.
-