public class FilesystemException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
BADARG
Bad arguments.
|
static int |
BADCIB
Attempting to unlock a file that is not locked.
|
static int |
BADHEAD
Bad header.
|
static int |
BUFFER_TOO_SMALL
Out of Memory.
|
static int |
BUSY
Trying to access a device that is not available.
|
static int |
CANT
Doing a read on a write-only device.
|
static int |
DFAIL
Disk not ready.
|
static int |
DISK
Invalid disk -- format.
|
static int |
DREAD
Unspecified IO error.
|
static int |
EOF
Trying to read beyond the end of the file.
|
static int |
EOR
Writing a record that is too large.
|
static java.lang.String[] |
ERROR_DESC
Static ERROR codes text.
|
static int |
INTERNAL
Internal error.
|
static int |
INVKEYLEN
Invalid key length.
|
static int |
INVPARM
Disk drive does not exist.
|
static int |
KFAIL
Attempting to access a record in a DIRECT file using a key that does not
exist.
|
static int |
LIC_ERROR
Error updating license.
|
static int |
LICINUSE
Non-BASIS license is already in use
|
static int |
MATHERR
Invalid Integer.
|
static int |
NETERR
Connection to server has dropped.
|
static int |
NETGONE
Network is gone.
|
static int |
NETUSER
Network user error.
|
static int |
NLEN
Illegal file name.
|
static int |
NOF
Attempting to access a file that cannot be found.
|
static int |
NOROOM
Disk out of space.
|
static int |
NOTIMP
Not implemented.
|
static int |
NOUSERS
Too many network users.
|
static int |
PNTR
Corrupt file -- accessing location that does not exist.
|
static int |
PWFAIL
Data mismatch.
|
static int |
SYNTAXERR
Syntax Error.
|
static int |
SYSTEM_MEMORY_OVERFLOW
System memory overflow.
|
static int |
SYSTEMERR
General system error.
|
static int |
TOFLOW
Attempting to create a file in a full directory.
|
static int |
UPDATE_CONFLICT
Update conflict.
|
static int |
USERCANT
User not allowed to access file.
|
static int |
VERIF
Disk data transfer failed.
|
Constructor and Description |
---|
FilesystemException(int p_errorCode) |
FilesystemException(int p_errorCode,
int p_hostErr) |
FilesystemException(int p_errorCode,
int p_hostErr,
java.lang.String p_string) |
FilesystemException(int p_errorCode,
int p_hostErr,
java.lang.String p_string,
java.lang.Throwable p_cause) |
FilesystemException(int p_errorCode,
int p_hostErr,
java.lang.Throwable p_cause) |
FilesystemException(int p_errorCode,
java.lang.String p_string) |
FilesystemException(int p_errorCode,
java.lang.String p_string,
java.lang.Throwable p_cause) |
FilesystemException(int p_errorCode,
java.lang.Throwable p_cause) |
FilesystemException(java.lang.String p_filename,
int p_errorCode)
Constructor just taking an error code.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
int p_hostErr)
Constructor just taking an error code and host err.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
int p_hostErr,
java.lang.String p_string)
Constructor taking an error code and message string.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
int p_hostErr,
java.lang.String p_string,
java.lang.Throwable p_cause)
Constructor taking an error code and message string.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
int p_hostErr,
java.lang.Throwable p_cause)
Constructor just taking an error code and host err.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
java.lang.String p_string)
Constructor taking an error code and message string.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
java.lang.String p_string,
java.lang.Throwable p_cause)
Constructor taking an error code and message string.
|
FilesystemException(java.lang.String p_filename,
int p_errorCode,
java.lang.Throwable p_cause)
Constructor taking an error code and Throwable.
|
Modifier and Type | Method and Description |
---|---|
FilesystemException |
cloneWithNewFilename(java.lang.String p_filename) |
int |
getErrorCode()
Accessor for the error code.
|
static java.lang.String |
getErrorDesc(int p_err) |
java.lang.String |
getFilename()
Accessor for filename if available
|
int |
getHostErr()
Accessor for the host err.
|
java.lang.String |
getString() |
public static final java.lang.String[] ERROR_DESC
public static final int BUSY
public static final int EOR
public static final int EOF
public static final int DREAD
public static final int DFAIL
public static final int DISK
public static final int PNTR
public static final int VERIF
public static final int PWFAIL
public static final int NLEN
public static final int KFAIL
public static final int NOF
public static final int CANT
public static final int BADCIB
public static final int NOROOM
public static final int TOFLOW
public static final int INVPARM
public static final int USERCANT
public static final int SYNTAXERR
public static final int BADARG
public static final int BUFFER_TOO_SMALL
public static final int SYSTEM_MEMORY_OVERFLOW
public static final int MATHERR
public static final int INVKEYLEN
public static final int BADHEAD
public static final int SYSTEMERR
public static final int NOUSERS
public static final int NETUSER
public static final int NETERR
public static final int NETGONE
public static final int UPDATE_CONFLICT
public static final int LIC_ERROR
public static final int LICINUSE
public static final int NOTIMP
public static final int INTERNAL
public FilesystemException(int p_errorCode)
public FilesystemException(java.lang.String p_filename, int p_errorCode)
p_filename
- p_errorCode
- Error code.public FilesystemException(int p_errorCode, int p_hostErr)
public FilesystemException(java.lang.String p_filename, int p_errorCode, int p_hostErr)
p_filename
- p_errorCode
- Error code.p_hostErr
- Host error code.public FilesystemException(int p_errorCode, int p_hostErr, java.lang.Throwable p_cause)
public FilesystemException(java.lang.String p_filename, int p_errorCode, int p_hostErr, java.lang.Throwable p_cause)
p_filename
- p_errorCode
- Error code.p_hostErr
- Host error code.p_cause
- Cause of the FilesystemException.public FilesystemException(int p_errorCode, java.lang.Throwable p_cause)
public FilesystemException(java.lang.String p_filename, int p_errorCode, java.lang.Throwable p_cause)
p_filename
- p_errorCode
- Error code.p_cause
- Cause of the FilesystemException.public FilesystemException(int p_errorCode, java.lang.String p_string)
public FilesystemException(java.lang.String p_filename, int p_errorCode, java.lang.String p_string)
p_filename
- p_errorCode
- Error code.p_string
- Message for clarification.public FilesystemException(int p_errorCode, java.lang.String p_string, java.lang.Throwable p_cause)
public FilesystemException(java.lang.String p_filename, int p_errorCode, java.lang.String p_string, java.lang.Throwable p_cause)
p_filename
- p_errorCode
- Error code.p_string
- Message for clarification.p_cause
- Cause of the FilesystemException.public FilesystemException(int p_errorCode, int p_hostErr, java.lang.String p_string)
public FilesystemException(java.lang.String p_filename, int p_errorCode, int p_hostErr, java.lang.String p_string)
p_filename
- p_errorCode
- Error code.p_hostErr
- Host error code.p_string
- Message for clarification.public FilesystemException(int p_errorCode, int p_hostErr, java.lang.String p_string, java.lang.Throwable p_cause)
public FilesystemException(java.lang.String p_filename, int p_errorCode, int p_hostErr, java.lang.String p_string, java.lang.Throwable p_cause)
p_filename
- p_errorCode
- Error code.p_hostErr
- Host error code.p_string
- Message for clarification.p_cause
- Cause of the FilesystemException.public static java.lang.String getErrorDesc(int p_err)
public FilesystemException cloneWithNewFilename(java.lang.String p_filename)
public final int getErrorCode()
public final int getHostErr()
public final java.lang.String getString()
public final java.lang.String getFilename()