Enum SqlJetErrorCode

java.lang.Object
java.lang.Enum<SqlJetErrorCode>
org.tmatesoft.sqljet.core.SqlJetErrorCode
All Implemented Interfaces:
Serializable, Comparable<SqlJetErrorCode>, java.lang.constant.Constable

public enum SqlJetErrorCode extends Enum<SqlJetErrorCode>
SqlJet error codes.
  • Enum Constant Details

    • ERROR

      public static final SqlJetErrorCode ERROR
      SQL error or missing database
    • INTERNAL

      public static final SqlJetErrorCode INTERNAL
      Internal logic error in SQLite
    • PERM

      public static final SqlJetErrorCode PERM
      Internal logic error in SQLite
    • ABORT

      public static final SqlJetErrorCode ABORT
      Callback routine requested an abort
    • BUSY

      public static final SqlJetErrorCode BUSY
      The database file is locked
    • LOCKED

      public static final SqlJetErrorCode LOCKED
      A table in the database is locked
    • NOMEM

      public static final SqlJetErrorCode NOMEM
      A malloc() failed
    • READONLY

      public static final SqlJetErrorCode READONLY
      Attempt to write a readonly database
    • INTERRUPT

      public static final SqlJetErrorCode INTERRUPT
      Operation terminated by sqlite3_interrupt()
    • IOERR

      public static final SqlJetErrorCode IOERR
      Some kind of disk I/O error occurred
    • CORRUPT

      public static final SqlJetErrorCode CORRUPT
      The database disk image is malformed
    • NOTFOUND

      public static final SqlJetErrorCode NOTFOUND
      NOT USED. Table or record not found
    • FULL

      public static final SqlJetErrorCode FULL
      Insertion failed because database is full
    • CANTOPEN

      public static final SqlJetErrorCode CANTOPEN
      Unable to open the database file
    • PROTOCOL

      public static final SqlJetErrorCode PROTOCOL
      NOT USED. Database lock protocol error
    • EMPTY

      public static final SqlJetErrorCode EMPTY
      Database is empty
    • SCHEMA

      public static final SqlJetErrorCode SCHEMA
      The database schema changed
    • TOOBIG

      public static final SqlJetErrorCode TOOBIG
      String or BLOB exceeds size limit
    • CONSTRAINT

      public static final SqlJetErrorCode CONSTRAINT
      Abort due to constraint violation
    • MISMATCH

      public static final SqlJetErrorCode MISMATCH
      Data type mismatch
    • MISUSE

      public static final SqlJetErrorCode MISUSE
      Library used incorrectly
    • NOLFS

      public static final SqlJetErrorCode NOLFS
      Uses OS features not supported on host
    • AUTH

      public static final SqlJetErrorCode AUTH
      Authorization denied
    • FORMAT

      public static final SqlJetErrorCode FORMAT
      Auxiliary database format error
    • RANGE

      public static final SqlJetErrorCode RANGE
      2nd parameter to sqlite3_bind out of range
    • NOTADB

      public static final SqlJetErrorCode NOTADB
      File opened that is not a database file
    • DONE

      public static final SqlJetErrorCode DONE
    • BAD_PARAMETER

      public static final SqlJetErrorCode BAD_PARAMETER
      Bad parameter value in function call wich impossible to execute
  • Method Details

    • values

      public static SqlJetErrorCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SqlJetErrorCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null