Package org.h2.jdbc

Class JdbcSQLIntegrityConstraintViolationException

All Implemented Interfaces:
Serializable, Iterable<Throwable>, JdbcException

public final class JdbcSQLIntegrityConstraintViolationException extends SQLIntegrityConstraintViolationException implements JdbcException
Represents a database exception.
See Also:
  • Constructor Details

    • JdbcSQLIntegrityConstraintViolationException

      public JdbcSQLIntegrityConstraintViolationException(String message, String sql, String state, int errorCode, Throwable cause, String stackTrace)
      Creates a SQLIntegrityConstraintViolationException.
      Parameters:
      message - the reason
      sql - the SQL statement
      state - the SQL state
      errorCode - the error code
      cause - the exception that was the reason for this exception
      stackTrace - the stack trace
  • Method Details