com.ibm.as400.access
Class ExtendedIOException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.ibm.as400.access.ExtendedIOException
All Implemented Interfaces:
ReturnCodeException, java.io.Serializable

public class ExtendedIOException
extends java.io.IOException
implements ReturnCodeException

The ExtendedIOException class represents an exception that indicates that an error has occurred while communicating with the AS/400.

See Also:
Serialized Form

Field Summary
static int ACCESS_DENIED
          The return code indicating that the access to the request was denied.
static int CANNOT_CONVERT_VALUE
          The return code indicating that the value cannot be converted.
static int CERTIFICATE_ALREADY_ADDED
          The return code indicating that the certificate was already added.
static int CERTIFICATE_NOT_FOUND
          The return code indicating that no certificate was found.
static int DATA_STREAM_SYNTAX_ERROR
          The return code indicating that there is a syntax error in the data stream.
static int DIR_ENTRY_DAMAGED
          The return code indicating that the directory entry is damaged.
static int DIR_ENTRY_EXISTS
          The return code indicating that the directory entry exists.
static int DIR_NOT_EMPTY
          The return code indicating that the directory is not empty.
static int END_OF_FILE
          The return code indicating that the end of file has been reached.
static int FILE_IN_USE
          The return code indicating that the file is in use.
static int FILE_NOT_FOUND
          The return code indicating that the file was not found.
static int FILE_SUBSTREAM_IN_USE
          The return code indicating that the file substream is in use.
static int INVALID_ATTRIBUTE_NAME
          The return code indicating that the attribute name is not valid.
static int INVALID_CERTIFICATE
          The return code indicating that the certificate or certificate format was not valid.
static int INVALID_CONNECTION
          The return code indicating that the connection is not valid.
static int INVALID_DIR_ENTRY_NAME
          The return code indicating that the directory entry name is not valid.
static int INVALID_HANDLE
          The return code indicating that the handle is not valid.
static int INVALID_REQUEST
          The return code indicating that the request is not valid.
static int INVALID_USER
          The return code indicating that the user ID is not valid.
static int LOCK_VIOLATION
          The return code indicating that a lock violation has occurred.
static int NO_MORE_FILES
          The return code indicating that no more files are available.
static int PARM_NOT_SUPPORTED
          The return code indicating that the parameter is not supported.
static int PARM_VALUE_NOT_SUPPORTED
          The return code indicating that the parameter value is not supported.
static int PATH_NOT_FOUND
          The return code indicating that the path is not found.
static int REQUEST_DENIED
          The return code indicating that the request was denied.
static int REQUEST_NOT_SUPPORTED
          The return code indicating that the request is not supported.
static int RESOURCE_LIMIT_EXCEEDED
          The return code indicating that the resource limit was exceeded.
static int RESOURCE_NOT_AVAILABLE
          The return code indicating that the resource is not available.
static int SHARING_VIOLATION
          The return code indicating that a sharing violation has occurred.
static int UNKNOWN_ERROR
          The return code indicating that an unknown problem has occurred.
 
Method Summary
 int getReturnCode()
          Returns the return code associated with this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FILE_IN_USE

public static final int FILE_IN_USE
The return code indicating that the file is in use.

FILE_NOT_FOUND

public static final int FILE_NOT_FOUND
The return code indicating that the file was not found.

PATH_NOT_FOUND

public static final int PATH_NOT_FOUND
The return code indicating that the path is not found.

DIR_ENTRY_EXISTS

public static final int DIR_ENTRY_EXISTS
The return code indicating that the directory entry exists.

ACCESS_DENIED

public static final int ACCESS_DENIED
The return code indicating that the access to the request was denied.

INVALID_HANDLE

public static final int INVALID_HANDLE
The return code indicating that the handle is not valid.

INVALID_DIR_ENTRY_NAME

public static final int INVALID_DIR_ENTRY_NAME
The return code indicating that the directory entry name is not valid.

INVALID_ATTRIBUTE_NAME

public static final int INVALID_ATTRIBUTE_NAME
The return code indicating that the attribute name is not valid.

DIR_NOT_EMPTY

public static final int DIR_NOT_EMPTY
The return code indicating that the directory is not empty.

FILE_SUBSTREAM_IN_USE

public static final int FILE_SUBSTREAM_IN_USE
The return code indicating that the file substream is in use.

RESOURCE_LIMIT_EXCEEDED

public static final int RESOURCE_LIMIT_EXCEEDED
The return code indicating that the resource limit was exceeded.

RESOURCE_NOT_AVAILABLE

public static final int RESOURCE_NOT_AVAILABLE
The return code indicating that the resource is not available.

REQUEST_DENIED

public static final int REQUEST_DENIED
The return code indicating that the request was denied.

DIR_ENTRY_DAMAGED

public static final int DIR_ENTRY_DAMAGED
The return code indicating that the directory entry is damaged.

INVALID_CONNECTION

public static final int INVALID_CONNECTION
The return code indicating that the connection is not valid.

INVALID_REQUEST

public static final int INVALID_REQUEST
The return code indicating that the request is not valid.

DATA_STREAM_SYNTAX_ERROR

public static final int DATA_STREAM_SYNTAX_ERROR
The return code indicating that there is a syntax error in the data stream.

NO_MORE_FILES

public static final int NO_MORE_FILES
The return code indicating that no more files are available.

PARM_NOT_SUPPORTED

public static final int PARM_NOT_SUPPORTED
The return code indicating that the parameter is not supported.

PARM_VALUE_NOT_SUPPORTED

public static final int PARM_VALUE_NOT_SUPPORTED
The return code indicating that the parameter value is not supported.

CANNOT_CONVERT_VALUE

public static final int CANNOT_CONVERT_VALUE
The return code indicating that the value cannot be converted.

END_OF_FILE

public static final int END_OF_FILE
The return code indicating that the end of file has been reached.

REQUEST_NOT_SUPPORTED

public static final int REQUEST_NOT_SUPPORTED
The return code indicating that the request is not supported.

INVALID_USER

public static final int INVALID_USER
The return code indicating that the user ID is not valid.

UNKNOWN_ERROR

public static final int UNKNOWN_ERROR
The return code indicating that an unknown problem has occurred.

SHARING_VIOLATION

public static final int SHARING_VIOLATION
The return code indicating that a sharing violation has occurred.

LOCK_VIOLATION

public static final int LOCK_VIOLATION
The return code indicating that a lock violation has occurred.

CERTIFICATE_NOT_FOUND

public static final int CERTIFICATE_NOT_FOUND
The return code indicating that no certificate was found. "Certificate was not found."

CERTIFICATE_ALREADY_ADDED

public static final int CERTIFICATE_ALREADY_ADDED
The return code indicating that the certificate was already added. "Certificate association already exists."

INVALID_CERTIFICATE

public static final int INVALID_CERTIFICATE
The return code indicating that the certificate or certificate format was not valid. "Certificate or certificate type is not valid."
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.
Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.