|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException jcifs.smb.SmbException
There are hundreds of error codes that may be returned by a CIFS
server. Rather than represent each with it's own Exception
class, this class represents all of them. For many of the popular
error codes, constants and text messages like "The device is not ready"
are provided.
The jCIFS client maps DOS error codes to NTSTATUS codes. This means that the user may recieve a different error from a legacy server than that of a newer varient such as Windows NT and above. If you should encounter such a case, please report it to jcifs at samba dot org and we will change the mapping.
Field Summary |
Fields inherited from interface jcifs.smb.DosError |
DOS_ERROR_CODES, DOS_ERROR_MESSAGES |
Fields inherited from interface jcifs.smb.WinError |
ERROR_ACCESS_DENIED, ERROR_BAD_PIPE, ERROR_MORE_DATA, ERROR_NO_BROWSER_SERVERS_FOUND, ERROR_NO_DATA, ERROR_PIPE_BUSY, ERROR_PIPE_NOT_CONNECTED, ERROR_REQ_NOT_ACCEP, ERROR_SUCCESS, WINERR_CODES, WINERR_MESSAGES |
Constructor Summary | |
SmbException(int errcode,
boolean winerr)
|
Method Summary | |
int |
getNtStatus()
|
java.lang.Throwable |
getRootCause()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SmbException(int errcode, boolean winerr)
Method Detail |
public int getNtStatus()
public java.lang.Throwable getRootCause()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |