Package org.jdbi.v3.core
Class JdbiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jdbi.v3.core.JdbiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CloseException
,ConnectionException
,ElementTypeNotFoundException
,EntityMemberAccessException
,MappingException
,NoSuchCollectorException
,NoSuchExtensionException
,NoSuchMapperException
,StatementException
,TransactionException
,UnableToCreateExtensionException
,UnableToCreateSqlObjectException
,UnableToManipulateTransactionIsolationLevelException
,UnableToRestoreAutoCommitStateException
Base unchecked exception for exceptions thrown from jdbi.
- See Also:
-
Constructor Summary
ConstructorDescriptionJdbiException
(String message) Constructs a new runtime exception with the specified detail message.JdbiException
(String message, Throwable cause) JdbiException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JdbiException
- Parameters:
message
- the exception messagecause
- the optional cause
-
JdbiException
- Parameters:
cause
- the cause of this exception
-
JdbiException
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
.- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-