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 ABORTCallback routine requested an abortAUTHAuthorization deniedBAD_PARAMETERBad parameter value in function call wich impossible to executeBUSYThe database file is lockedCANTOPENUnable to open the database fileCONSTRAINTAbort due to constraint violationCORRUPTThe database disk image is malformedDONEEMPTYDatabase is emptyERRORSQL error or missing databaseFORMATAuxiliary database format errorFULLInsertion failed because database is fullINTERNALInternal logic error in SQLiteINTERRUPTOperation terminated by sqlite3_interrupt()IOERRSome kind of disk I/O error occurredLOCKEDA table in the database is lockedMISMATCHData type mismatchMISUSELibrary used incorrectlyNOLFSUses OS features not supported on hostNOMEMA malloc() failedNOTADBFile opened that is not a database fileNOTFOUNDNOT USED.PERMInternal logic error in SQLitePROTOCOLNOT USED.RANGE2nd parameter to sqlite3_bind out of rangeREADONLYAttempt to write a readonly databaseSCHEMAThe database schema changedTOOBIGString or BLOB exceeds size limit
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlJetErrorCodevalueOf(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
-
-