Module org.jooq
Package org.jooq.exception
The
org.jooq.exception
package contains jOOQ's exceptions.-
Class Summary Class Description ExceptionTools -
Enum Summary Enum Description SQLStateClass The class of the SQL state as specified by the SQL:2011 standard, or by individual vendors.SQLStateSubclass The subclass of the SQL state class as specified by the SQL standard, or by individual vendors. -
Exception Summary Exception Description ConfigurationException TheConfiguration
was set up in a way that does not allow for a particular operation.ControlFlowSignal An exception that is used to influence control flows.DataAccessException TheDataAccessException
is a genericRuntimeException
indicating that something went wrong while executing a SQL statement from jOOQ.DataChangedException An error occurred while storing a record whose underlying data had already been changedDataDefinitionException An error occurred while running DDL statements inDSLContext.meta(org.jooq.Source...)
and related API.DataMigrationException An error occurred while running aMigration
.DataMigrationValidationException An error occurred while runningMigration.validate()
.DataTypeException An error occurred while handling data types.DetachedException InvalidResultException An unexpected result was encountered after executing aQuery
.IOException The jOOQIOException
is a wrapper for aIOException
.LoaderConfigurationException TheLoaderConfigurationException
indicates that aLoader
was executed with an illegal execution configuration.MappingException 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)
...MockFileDatabaseException An unexpected result can be encountered while loading a file-basedMockDataProvider
.NoDataFoundException No rows were returned from aResultQuery
, when exactly one row was expected.SQLDialectNotSupportedException An exception thrown if an SQL construct is used, which is not supported by the dialect set inConfiguration.dialect()
TooManyRowsException Too many rows (more than 1) were returned from aResultQuery
.