Module org.jooq
Package org.jooq.exception
package org.jooq.exception
This package contains jOOQ's exceptions.
-
ClassDescriptionThe
Configuration
was set up in a way that does not allow for a particular operation.An exception that is used to influence control flows.TheDataAccessException
is a genericRuntimeException
indicating that something went wrong while executing a SQL statement from jOOQ.An error occurred while storing a record with optimistic locking active, whose underlying data had already been changed.An error occurred while running DDL statements inDSLContext.meta(org.jooq.Source...)
and related API.TheDataException
is jOOQ's equivalent of JDBC'sSQLDataException
.An error occurred while running aMigration
.An error occurred while runningMigration.verify()
orCommits.load(java.io.File)
, etc.An error occurred while handling data types.TheIntegrityConstraintViolationException
is jOOQ's equivalent of JDBC'sSQLIntegrityConstraintViolationException
.An unexpected result was encountered after executing aQuery
.The jOOQIOException
is a wrapper for aIOException
.TheLoaderConfigurationException
indicates that aLoader
was executed with an illegal execution configuration.An error occurred while fetching data into a user defined Java object with any of these methods:ResultQuery.fetchInto(Class)
Cursor.fetchInto(Class)
Result.into(Class)
Record.into(Class)
...An unexpected result can be encountered while loading a file-basedMockDataProvider
.No rows were returned from aResultQuery
, when exactly one row was expected.An exception thrown if an SQL construct is used, which is not supported by the dialect set inConfiguration.dialect()
The class of the SQL state as specified by the SQL:2011 standard, or by individual vendors.The subclass of the SQL state class as specified by the SQL standard, or by individual vendors.An exception that occurs with plainSQL
templating.Too many rows (more than 1) were returned from aResultQuery
.