ReturnCodeException
, Serializable
public class ExtendedIOException extends IOException implements ReturnCodeException
Modifier and Type | Field | Description |
---|---|---|
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 |
STALE_HANDLE |
The return code indicating that
the handle is stale.
|
static int |
UNKNOWN_ERROR |
The return code indicating that
an unknown problem has occurred.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getReturnCode() |
Returns the return code associated with this exception.
|
String |
toString() |
Update the exception, so that when it prints the return code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final int FILE_IN_USE
public static final int FILE_NOT_FOUND
public static final int PATH_NOT_FOUND
public static final int DIR_ENTRY_EXISTS
public static final int ACCESS_DENIED
public static final int INVALID_HANDLE
public static final int INVALID_DIR_ENTRY_NAME
public static final int INVALID_ATTRIBUTE_NAME
public static final int DIR_NOT_EMPTY
public static final int FILE_SUBSTREAM_IN_USE
public static final int RESOURCE_LIMIT_EXCEEDED
public static final int RESOURCE_NOT_AVAILABLE
public static final int REQUEST_DENIED
public static final int DIR_ENTRY_DAMAGED
public static final int INVALID_CONNECTION
public static final int INVALID_REQUEST
public static final int DATA_STREAM_SYNTAX_ERROR
public static final int NO_MORE_FILES
public static final int PARM_NOT_SUPPORTED
public static final int PARM_VALUE_NOT_SUPPORTED
public static final int CANNOT_CONVERT_VALUE
public static final int END_OF_FILE
public static final int REQUEST_NOT_SUPPORTED
public static final int INVALID_USER
public static final int UNKNOWN_ERROR
public static final int SHARING_VIOLATION
public static final int LOCK_VIOLATION
public static final int STALE_HANDLE
public static final int CERTIFICATE_NOT_FOUND
public static final int CERTIFICATE_ALREADY_ADDED
public static final int INVALID_CERTIFICATE
public int getReturnCode()
getReturnCode
in interface ReturnCodeException
Copyright © 2024. All rights reserved.