Package org.tmatesoft.sqljet.core
Enum SqlJetErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<SqlJetErrorCode>
,java.lang.constant.Constable
SqlJet error codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCallback routine requested an abortAuthorization deniedBad parameter value in function call wich impossible to executeThe database file is lockedUnable to open the database fileAbort due to constraint violationThe database disk image is malformedDatabase is emptySQL error or missing databaseAuxiliary database format errorInsertion failed because database is fullInternal logic error in SQLiteOperation terminated by sqlite3_interrupt()Some kind of disk I/O error occurredA table in the database is lockedData type mismatchLibrary used incorrectlyUses OS features not supported on hostA malloc() failedFile opened that is not a database fileNOT USED.Internal logic error in SQLiteNOT USED.2nd parameter to sqlite3_bind out of rangeAttempt to write a readonly databaseThe database schema changedString or BLOB exceeds size limit -
Method Summary
Modifier and TypeMethodDescriptionstatic SqlJetErrorCode
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 Details
-
ERROR
SQL error or missing database -
INTERNAL
Internal logic error in SQLite -
PERM
Internal logic error in SQLite -
ABORT
Callback routine requested an abort -
BUSY
The database file is locked -
LOCKED
A table in the database is locked -
NOMEM
A malloc() failed -
READONLY
Attempt to write a readonly database -
INTERRUPT
Operation terminated by sqlite3_interrupt() -
IOERR
Some kind of disk I/O error occurred -
CORRUPT
The database disk image is malformed -
NOTFOUND
NOT USED. Table or record not found -
FULL
Insertion failed because database is full -
CANTOPEN
Unable to open the database file -
PROTOCOL
NOT USED. Database lock protocol error -
EMPTY
Database is empty -
SCHEMA
The database schema changed -
TOOBIG
String or BLOB exceeds size limit -
CONSTRAINT
Abort due to constraint violation -
MISMATCH
Data type mismatch -
MISUSE
Library used incorrectly -
NOLFS
Uses OS features not supported on host -
AUTH
Authorization denied -
FORMAT
Auxiliary database format error -
RANGE
2nd parameter to sqlite3_bind out of range -
NOTADB
File opened that is not a database file -
DONE
-
BAD_PARAMETER
Bad parameter value in function call wich impossible to execute
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-