Package org.h2.jdbc

Class JdbcSQLException

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

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

    • JdbcSQLException

      public JdbcSQLException(String message, String sql, String state, int errorCode, Throwable cause, String stackTrace)
      Creates a SQLException.
      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