java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jooq.exception.DataAccessException
org.jooq.exception.IntegrityConstraintViolationException
- All Implemented Interfaces:
- Serializable
The 
IntegrityConstraintViolationException is jOOQ's equivalent
 of JDBC's SQLIntegrityConstraintViolationException.
 
 It is thrown by jOOQ whenever jOOQ detects
 SQLStateClass.C23_INTEGRITY_CONSTRAINT_VIOLATION from the JDBC
 driver. Whether this SQL state is available is JDBC driver implementation
 specific.
- Author:
- Lukas Eder
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor for IntegrityConstraintViolationException.IntegrityConstraintViolationException(String message, Throwable cause) Constructor for IntegrityConstraintViolationException.
- 
Method SummaryMethods inherited from class org.jooq.exception.DataAccessExceptiongetCause, getStackTrace, sqlState, sqlStateClass, sqlStateClass, sqlStateClass, sqlStateClass, sqlStateSubclass, sqlStateSubclassMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
IntegrityConstraintViolationExceptionConstructor for IntegrityConstraintViolationException.- Parameters:
- message- the detail message
 
- 
IntegrityConstraintViolationExceptionConstructor for IntegrityConstraintViolationException.- Parameters:
- message- the detail message
- cause- the root cause (usually from using a underlying data access API such as JDBC)
 
 
-