com.ibm.as400.access
Class ExtendedIOException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.ibm.as400.access.ExtendedIOException
All Implemented Interfaces:
ReturnCodeException, Serializable

public class ExtendedIOException
extends IOException
implements ReturnCodeException

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

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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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.

See Also:
Constant Field Values

FILE_NOT_FOUND

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

See Also:
Constant Field Values

PATH_NOT_FOUND

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

See Also:
Constant Field Values

DIR_ENTRY_EXISTS

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

See Also:
Constant Field Values

ACCESS_DENIED

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

See Also:
Constant Field Values

INVALID_HANDLE

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

See Also:
Constant Field Values

INVALID_DIR_ENTRY_NAME

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

See Also:
Constant Field Values

INVALID_ATTRIBUTE_NAME

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

See Also:
Constant Field Values

DIR_NOT_EMPTY

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

See Also:
Constant Field Values

FILE_SUBSTREAM_IN_USE

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

See Also:
Constant Field Values

RESOURCE_LIMIT_EXCEEDED

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

See Also:
Constant Field Values

RESOURCE_NOT_AVAILABLE

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

See Also:
Constant Field Values

REQUEST_DENIED

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

See Also:
Constant Field Values

DIR_ENTRY_DAMAGED

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

See Also:
Constant Field Values

INVALID_CONNECTION

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

See Also:
Constant Field Values

INVALID_REQUEST

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

See Also:
Constant Field Values

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.

See Also:
Constant Field Values

NO_MORE_FILES

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

See Also:
Constant Field Values

PARM_NOT_SUPPORTED

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

See Also:
Constant Field Values

PARM_VALUE_NOT_SUPPORTED

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

See Also:
Constant Field Values

CANNOT_CONVERT_VALUE

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

See Also:
Constant Field Values

END_OF_FILE

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

See Also:
Constant Field Values

REQUEST_NOT_SUPPORTED

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

See Also:
Constant Field Values

INVALID_USER

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

See Also:
Constant Field Values

UNKNOWN_ERROR

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

See Also:
Constant Field Values

SHARING_VIOLATION

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

See Also:
Constant Field Values

LOCK_VIOLATION

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

See Also:
Constant Field Values

CERTIFICATE_NOT_FOUND

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

See Also:
Constant Field Values

CERTIFICATE_ALREADY_ADDED

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

See Also:
Constant Field Values

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."

See Also:
Constant Field Values
Method Detail

getReturnCode

public int getReturnCode()
Returns the return code associated with this exception.

Specified by:
getReturnCode in interface ReturnCodeException
Returns:
The return code.