Package org.tmatesoft.sqljet.core
Enum SqlJetErrorCode
- java.lang.Object
-
- java.lang.Enum<SqlJetErrorCode>
-
- org.tmatesoft.sqljet.core.SqlJetErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SqlJetErrorCode>
public enum SqlJetErrorCode extends java.lang.Enum<SqlJetErrorCode>
SqlJet error codes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT
Callback routine requested an abortAUTH
Authorization deniedBAD_PARAMETER
Bad parameter value in function call wich impossible to executeBUSY
The database file is lockedCANTOPEN
Unable to open the database fileCONSTRAINT
Abort due to constraint violationCORRUPT
The database disk image is malformedDONE
EMPTY
Database is emptyERROR
SQL error or missing databaseFORMAT
Auxiliary database format errorFULL
Insertion failed because database is fullINTERNAL
Internal logic error in SQLiteINTERRUPT
Operation terminated by sqlite3_interrupt()IOERR
Some kind of disk I/O error occurredLOCKED
A table in the database is lockedMISMATCH
Data type mismatchMISUSE
Library used incorrectlyNOLFS
Uses OS features not supported on hostNOMEM
A malloc() failedNOTADB
File opened that is not a database fileNOTFOUND
NOT USED.PERM
Internal logic error in SQLitePROTOCOL
NOT USED.RANGE
2nd parameter to sqlite3_bind out of rangeREADONLY
Attempt to write a readonly databaseSCHEMA
The database schema changedTOOBIG
String or BLOB exceeds size limit
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlJetErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SqlJetErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static SqlJetErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SqlJetErrorCode c : SqlJetErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlJetErrorCode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-