Top Description Constructors Methods
org.jooq.exception

public Class DataException

extends DataAccessException
Class Inheritance
Imports
java.sql.SQLDataException, .SQLException, io.r2dbc.spi.R2dbcException

The DataException is jOOQ's equivalent of JDBC's SQLDataException.

It is thrown by jOOQ whenever jOOQ detects SQLStateClass#C22_DATA_EXCEPTION from the JDBC driver. Whether this SQL state is available is JDBC driver implementation specific.

Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
public
DataException(String
the detail message
message
)

Constructor for DataException.

public
DataException(String
the detail message
message
,
Throwable
the root cause (usually from using a underlying data access API such as JDBC)
cause
)

Constructor for DataException.

Method Summary

Inherited from org.jooq.exception.DataAccessException:
getCausegetStackTracesqlStatesqlStateClasssqlStateClasssqlStateClasssqlStateSubclass

Constructor Detail

DataExceptionback to summary
public DataException(String message)

Constructor for DataException.

Parameters
message:String

the detail message

DataExceptionback to summary
public DataException(String message, Throwable cause)

Constructor for DataException.

Parameters
message:String

the detail message

cause:Throwable

the root cause (usually from using a underlying data access API such as JDBC)