|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.io.IOException | +--org.gnu.jcifs.CifsIOException
Base class for all exceptions
Field Summary | |
static short |
DOS_BAD_ACCESS_MODE
Invalid open mode. |
static short |
DOS_BAD_DATA
Invalid data (generated only by IOCTL calls within the server). |
static short |
DOS_BAD_DRIVE
Invalid drive specified. |
static short |
DOS_BAD_ENVIRONME
Invalid environment. |
static short |
DOS_BAD_FILE
File not found. |
static short |
DOS_BAD_FILE_HANDLE
Invalid file handle. |
static short |
DOS_BAD_FORMAT
Invalid format. |
static short |
DOS_BAD_FUNCTION
Invalid function. |
static short |
DOS_BAD_MCB
Memory control blocks destroyed. |
static short |
DOS_BAD_MEMORY
Invalid memory block address. |
static short |
DOS_BAD_PATH
Directory invalid. |
static short |
DOS_BAD_PIPE
Pipe invalid. |
static short |
DOS_BAD_SHARE
The sharing mode specified for an Open conflicts with existing FIDs on the file. |
static short |
DOS_DIFF_DEVICE
Not same device (e.g., a cross volume rename was attempted) |
static short |
DOS_FILE_EXISTS
The file named in a Create Directory, Make New File or Link request already exists. |
static short |
DOS_LOCK_CONFLICT
A Lock request conflicted with an existing lock or specified an invalid mode, or an Unlock requested attempted to remove a lock held by another process. |
static short |
DOS_MORE_DATA
There is more data to be returned. |
static short |
DOS_NO_ACCESS
Access denied, the client's context does not permit the requested function. |
static short |
DOS_NO_FILE_HANDLE
Too many open files. |
static short |
DOS_NO_FILES
A File Search command can find no more files matching the specified criteria. |
static short |
DOS_NO_MEMORY
Insufficient server memory to perform the requested function. |
static short |
DOS_NOT_CONNECTED
No process on other end of pipe. |
static short |
DOS_PIPE_BUSY
All instances of the requested pipe are busy. |
static short |
DOS_PIPE_CLOSING
Pipe close in progress. |
static short |
DOS_REM_CD
A Delete Directory request attempted to remove the server's current directory. |
static byte |
ERROR_CMD
Command was not in the "SMB" format |
static byte |
ERROR_DOS
Error is from the core DOS operating system set |
static byte |
ERROR_HW
Error is an hardware error |
static byte |
ERROR_SRV
Error is generated by the server network file manager |
static short |
HW_BAD_COMMAND
Unknown command. |
static short |
HW_BAD_MEDIA
Unknown media type. |
static short |
HW_BAD_REQUEST
Bad request structure length. |
static short |
HW_BAD_SECTOR
Sector not found. |
static short |
HW_BAD_SHARE
A open conflicts with an existing open. |
static short |
HW_BAD_UNIT
Unknown unit. |
static short |
HW_DATA_ERROR
Data error (CRC). |
static short |
HW_FC_NOT_AVAILABLE
No FCBs are available to process request. |
static short |
HW_GENERAL_FAILURE
General failure. |
static short |
HW_LOCK_CONFLICT
A Lock request conflicted with an existing lock or specified an invalid mode, or an Unlock requested attempted to remove a lock held by another process. |
static short |
HW_NO_PAPER
Printer out of paper. |
static short |
HW_NO_WRITE
Attempt to write on write-protected media |
static short |
HW_NOT_READY
Drive not ready. |
static short |
HW_READ_FAULT
Read fault. |
static short |
HW_SEEK_ERROR
Seek error. |
static short |
HW_SHARE_BUFFER_EXCEEDED
A sharing buffer has been exceeded. |
static short |
HW_WRITE_FAULT
Write fault. |
static short |
HW_WRONG_DISK
The wrong disk was found in a drive. |
static short |
SRV_BAD_COMMAND
The server did not recognize the command received.. |
static short |
SRV_BAD_DEVICE
Invalid device - printer request made to non-printer connection or non-printer request made to printer connection.. |
static short |
SRV_BAD_FILE_SPECS
The Fid and pathname parameters contained an invalid combination of values. |
static short |
SRV_BAD_NETWORK_NAME
Invalid network name in tree connect.. |
static short |
SRV_BAD_PASSWORD
Bad password - name/password pair in a Tree Connect or Session Setup are invalid.. |
static short |
SRV_BAD_PERMITS
The access permissions specified for a file or directory are not a valid combination. |
static short |
SRV_BAD_PRINT_FILE_FID
Invalid print file FID.. |
static short |
SRV_BAD_SET_ATTR_MODE
The attribute mode in the Set File Attribute request is invalid. |
static short |
SRV_BAD_TID
The Tid specified in a command was invalid.. |
static short |
SRV_BAD_UID
The Uid is not known as a valid user identifier on this session. |
static short |
SRV_CONT_MPX_MODE
Continue in MPX mode. |
static short |
SRV_EOF_PRINT_QUEUE
EOF on print queue dump.. |
static short |
SRV_ERROR
Non-specific error code. |
static short |
SRV_FCT_NOT_SUPPORTED
Function not supported. |
static short |
SRV_INTERNAL_ERROR
The server encountered an internal error, e.g., system file unavailable.. |
static short |
SRV_NO_ACCESS
The client does not have the necessary access rights within the specified context for the requested function.. |
static short |
SRV_NO_RESOURCES
No resources currently available for request. |
static short |
SRV_NO_ROOM
No room to buffer message. |
static short |
SRV_NOT_RCV_MESSAGES
Not receiving messages. |
static short |
SRV_PAUSED
Server is paused. |
static short |
SRV_PRINT_QUEUE_FULL
Print queue full (files) -- returned by open print file.. |
static short |
SRV_PRINT_QUEUE_NO_SPACE
Print queue full -- no space.. |
static short |
SRV_TIMEOUT
Operation timed out. |
static short |
SRV_TOO_MANY_REMOTE_USERS
Too many remote user names. |
static short |
SRV_TOO_MANY_UIDS
Too many Uids active on this session. |
static short |
SRV_USE_MPX
Temporarily unable to support Raw, use MPX mode. |
static short |
SRV_USE_STD
Temporarily unable to support Raw, use standard read/write. |
static byte |
SUCCESS
The request was successful |
Constructor Summary | |
(package private) |
CifsIOException(int errorclass,
int errorcode)
|
|
CifsIOException(java.lang.String key)
|
(package private) |
CifsIOException(java.lang.String key,
java.lang.Object i1)
|
(package private) |
CifsIOException(java.lang.String key,
java.lang.Object i1,
java.lang.Object i2)
|
Method Summary | |
(package private) static CifsIOException |
getLMException(int code)
|
java.lang.String |
getMessage()
|
(package private) static CifsIOException |
getNBException(int code)
|
int |
getSMBErrorClass()
|
int |
getSMBErrorCode()
|
boolean |
isConnectionLost()
|
boolean |
isSMBError()
|
(package private) CifsIOException |
setConnectionLost()
|
(package private) CifsIOException |
setDetail(java.lang.Throwable detail)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final byte SUCCESS
public static final byte ERROR_DOS
public static final byte ERROR_SRV
public static final byte ERROR_HW
public static final byte ERROR_CMD
public static final short DOS_BAD_FUNCTION
public static final short DOS_BAD_FILE
public static final short DOS_BAD_PATH
public static final short DOS_NO_FILE_HANDLE
public static final short DOS_NO_ACCESS
public static final short DOS_BAD_FILE_HANDLE
public static final short DOS_BAD_MCB
public static final short DOS_NO_MEMORY
public static final short DOS_BAD_MEMORY
public static final short DOS_BAD_ENVIRONME
public static final short DOS_BAD_FORMAT
public static final short DOS_BAD_ACCESS_MODE
public static final short DOS_BAD_DATA
public static final short DOS_BAD_DRIVE
public static final short DOS_REM_CD
public static final short DOS_DIFF_DEVICE
public static final short DOS_NO_FILES
public static final short DOS_BAD_SHARE
public static final short DOS_LOCK_CONFLICT
public static final short DOS_FILE_EXISTS
public static final short DOS_BAD_PIPE
public static final short DOS_PIPE_BUSY
public static final short DOS_PIPE_CLOSING
public static final short DOS_NOT_CONNECTED
public static final short DOS_MORE_DATA
public static final short SRV_ERROR
public static final short SRV_BAD_PASSWORD
public static final short SRV_NO_ACCESS
public static final short SRV_BAD_TID
public static final short SRV_BAD_NETWORK_NAME
public static final short SRV_BAD_DEVICE
public static final short SRV_PRINT_QUEUE_FULL
public static final short SRV_PRINT_QUEUE_NO_SPACE
public static final short SRV_EOF_PRINT_QUEUE
public static final short SRV_BAD_PRINT_FILE_FID
public static final short SRV_BAD_COMMAND
public static final short SRV_INTERNAL_ERROR
public static final short SRV_BAD_FILE_SPECS
public static final short SRV_BAD_PERMITS
public static final short SRV_BAD_SET_ATTR_MODE
public static final short SRV_PAUSED
public static final short SRV_NOT_RCV_MESSAGES
public static final short SRV_NO_ROOM
public static final short SRV_TOO_MANY_REMOTE_USERS
public static final short SRV_TIMEOUT
public static final short SRV_NO_RESOURCES
public static final short SRV_TOO_MANY_UIDS
public static final short SRV_BAD_UID
public static final short SRV_USE_MPX
public static final short SRV_USE_STD
public static final short SRV_CONT_MPX_MODE
public static final short SRV_FCT_NOT_SUPPORTED
public static final short HW_NO_WRITE
public static final short HW_BAD_UNIT
public static final short HW_NOT_READY
public static final short HW_BAD_COMMAND
public static final short HW_DATA_ERROR
public static final short HW_BAD_REQUEST
public static final short HW_SEEK_ERROR
public static final short HW_BAD_MEDIA
public static final short HW_BAD_SECTOR
public static final short HW_NO_PAPER
public static final short HW_WRITE_FAULT
public static final short HW_READ_FAULT
public static final short HW_GENERAL_FAILURE
public static final short HW_BAD_SHARE
public static final short HW_LOCK_CONFLICT
public static final short HW_WRONG_DISK
public static final short HW_FC_NOT_AVAILABLE
public static final short HW_SHARE_BUFFER_EXCEEDED
Constructor Detail |
public CifsIOException(java.lang.String key)
CifsIOException(int errorclass, int errorcode)
CifsIOException(java.lang.String key, java.lang.Object i1)
CifsIOException(java.lang.String key, java.lang.Object i1, java.lang.Object i2)
Method Detail |
static CifsIOException getNBException(int code)
static CifsIOException getLMException(int code)
CifsIOException setDetail(java.lang.Throwable detail)
public boolean isSMBError()
public int getSMBErrorClass()
public int getSMBErrorCode()
public boolean isConnectionLost()
CifsIOException setConnectionLost()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |