Package org.tmatesoft.sqljet.core
Enum SqlJetIOErrorCode
- java.lang.Object
-
- java.lang.Enum<SqlJetIOErrorCode>
-
- org.tmatesoft.sqljet.core.SqlJetIOErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SqlJetIOErrorCode>
public enum SqlJetIOErrorCode extends java.lang.Enum<SqlJetIOErrorCode>
Extended error codes forSqlJetErrorCode.IOERR
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IOERR_ACCESS
IOERR_BLOCKED
IOERR_CHECKRESERVEDLOCK
IOERR_DELETE
IOERR_DIR_FSYNC
IOERR_FSTAT
IOERR_FSYNC
IOERR_LOCK
IOERR_NOMEM
IOERR_RDLOCK
IOERR_READ
IOERR_SHORT_READ
IOERR_TRUNCATE
IOERR_UNLOCK
IOERR_WRITE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlJetIOErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SqlJetIOErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IOERR_READ
public static final SqlJetIOErrorCode IOERR_READ
-
IOERR_SHORT_READ
public static final SqlJetIOErrorCode IOERR_SHORT_READ
-
IOERR_WRITE
public static final SqlJetIOErrorCode IOERR_WRITE
-
IOERR_FSYNC
public static final SqlJetIOErrorCode IOERR_FSYNC
-
IOERR_DIR_FSYNC
public static final SqlJetIOErrorCode IOERR_DIR_FSYNC
-
IOERR_TRUNCATE
public static final SqlJetIOErrorCode IOERR_TRUNCATE
-
IOERR_FSTAT
public static final SqlJetIOErrorCode IOERR_FSTAT
-
IOERR_UNLOCK
public static final SqlJetIOErrorCode IOERR_UNLOCK
-
IOERR_RDLOCK
public static final SqlJetIOErrorCode IOERR_RDLOCK
-
IOERR_DELETE
public static final SqlJetIOErrorCode IOERR_DELETE
-
IOERR_BLOCKED
public static final SqlJetIOErrorCode IOERR_BLOCKED
-
IOERR_NOMEM
public static final SqlJetIOErrorCode IOERR_NOMEM
-
IOERR_ACCESS
public static final SqlJetIOErrorCode IOERR_ACCESS
-
IOERR_CHECKRESERVEDLOCK
public static final SqlJetIOErrorCode IOERR_CHECKRESERVEDLOCK
-
IOERR_LOCK
public static final SqlJetIOErrorCode IOERR_LOCK
-
-
Method Detail
-
values
public static SqlJetIOErrorCode[] 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 (SqlJetIOErrorCode c : SqlJetIOErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlJetIOErrorCode 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
-
-