Class JdbiException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CloseException, ConnectionException, ElementTypeNotFoundException, EntityMemberAccessException, MappingException, NoSuchCollectorException, NoSuchExtensionException, NoSuchMapperException, StatementException, TransactionException, UnableToCreateSqlObjectException, UnableToManipulateTransactionIsolationLevelException, UnableToRestoreAutoCommitStateException

public abstract class JdbiException extends RuntimeException
Base unchecked exception for exceptions thrown from jdbi.
See Also:
  • Constructor Details

    • JdbiException

      public JdbiException(String message, Throwable cause)
      Parameters:
      message - the exception message
      cause - the optional cause
    • JdbiException

      public JdbiException(Throwable cause)
      Parameters:
      cause - the cause of this exception
    • JdbiException

      public JdbiException(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 to Throwable.initCause(java.lang.Throwable).
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.