org.sqlite
Enum SQLiteErrorCode
java.lang.Object
java.lang.Enum<SQLiteErrorCode>
org.sqlite.SQLiteErrorCode
- All Implemented Interfaces:
- Serializable, Comparable<SQLiteErrorCode>
public enum SQLiteErrorCode
- extends Enum<SQLiteErrorCode>
SQLite3 error code
- Author:
- leo
- See Also:
http://www.sqlite.org/c3ref/c_abort.html
UNKNOWN_ERROR
public static final SQLiteErrorCode UNKNOWN_ERROR
SQLITE_OK
public static final SQLiteErrorCode SQLITE_OK
SQLITE_ERROR
public static final SQLiteErrorCode SQLITE_ERROR
SQLITE_INTERNAL
public static final SQLiteErrorCode SQLITE_INTERNAL
SQLITE_PERM
public static final SQLiteErrorCode SQLITE_PERM
SQLITE_ABORT
public static final SQLiteErrorCode SQLITE_ABORT
SQLITE_BUSY
public static final SQLiteErrorCode SQLITE_BUSY
SQLITE_LOCKED
public static final SQLiteErrorCode SQLITE_LOCKED
SQLITE_NOMEM
public static final SQLiteErrorCode SQLITE_NOMEM
SQLITE_READONLY
public static final SQLiteErrorCode SQLITE_READONLY
SQLITE_INTERRUPT
public static final SQLiteErrorCode SQLITE_INTERRUPT
SQLITE_IOERR
public static final SQLiteErrorCode SQLITE_IOERR
SQLITE_CORRUPT
public static final SQLiteErrorCode SQLITE_CORRUPT
SQLITE_NOTFOUND
public static final SQLiteErrorCode SQLITE_NOTFOUND
SQLITE_FULL
public static final SQLiteErrorCode SQLITE_FULL
SQLITE_CANTOPEN
public static final SQLiteErrorCode SQLITE_CANTOPEN
SQLITE_PROTOCOL
public static final SQLiteErrorCode SQLITE_PROTOCOL
SQLITE_EMPTY
public static final SQLiteErrorCode SQLITE_EMPTY
SQLITE_SCHEMA
public static final SQLiteErrorCode SQLITE_SCHEMA
SQLITE_TOOBIG
public static final SQLiteErrorCode SQLITE_TOOBIG
SQLITE_CONSTRAINT
public static final SQLiteErrorCode SQLITE_CONSTRAINT
SQLITE_MISMATCH
public static final SQLiteErrorCode SQLITE_MISMATCH
SQLITE_MISUSE
public static final SQLiteErrorCode SQLITE_MISUSE
SQLITE_NOLFS
public static final SQLiteErrorCode SQLITE_NOLFS
SQLITE_AUTH
public static final SQLiteErrorCode SQLITE_AUTH
SQLITE_FORMAT
public static final SQLiteErrorCode SQLITE_FORMAT
SQLITE_RANGE
public static final SQLiteErrorCode SQLITE_RANGE
SQLITE_NOTADB
public static final SQLiteErrorCode SQLITE_NOTADB
SQLITE_ROW
public static final SQLiteErrorCode SQLITE_ROW
SQLITE_DONE
public static final SQLiteErrorCode SQLITE_DONE
code
public final int code
message
public final String message
values
public static final SQLiteErrorCode[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(SQLiteErrorCode c : SQLiteErrorCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SQLiteErrorCode 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
getErrorCode
public static SQLiteErrorCode getErrorCode(int errorCode)
toString
public String toString()
- Overrides:
toString
in class Enum<SQLiteErrorCode>

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.