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:
java.io.Serializable
- Direct Known Subclasses:
CloseException,ConnectionException,ElementTypeNotFoundException,EntityMemberAccessException,MappingException,NoSuchCollectorException,NoSuchExtensionException,NoSuchMapperException,StatementException,TransactionException,UnableToCreateExtensionException,UnableToCreateSqlObjectException,UnableToManipulateTransactionIsolationLevelException,UnableToRestoreAutoCommitStateException
public abstract class JdbiException extends java.lang.RuntimeExceptionBase unchecked exception for exceptions thrown from jdbi.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description JdbiException(java.lang.String message)Constructs a new runtime exception with the specified detail message.JdbiException(java.lang.String message, java.lang.Throwable cause)JdbiException(java.lang.Throwable cause)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JdbiException
public JdbiException(java.lang.String message, java.lang.Throwable cause)- Parameters:
message- the exception messagecause- the optional cause
-
JdbiException
public JdbiException(java.lang.Throwable cause)
- Parameters:
cause- the cause of this exception
-
JdbiException
public JdbiException(java.lang.String message)
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.
-
-