SQLJet Home

org.tmatesoft.sqljet.core
Enum SqlJetIOErrorCode

java.lang.Object
  extended by java.lang.Enum<SqlJetIOErrorCode>
      extended by 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 for SqlJetErrorCode.IOERR

Author:
TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)

Enum Constant Summary
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.lang.NullPointerException - if the argument is null

SQLJet Home

Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.