|
|||||||||
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 | +--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.
See jCIFS Exceptions and NtlmAuthenticator for more information about SmbException
.
Field Summary | |
static int |
ERRaccess
The client does not have the necessary access rights for the requested function |
static int |
ERRaccountExpired
The user account has expired |
static int |
ERRbadClient
The user is not allowed to access this server from this client |
static int |
ERRbadDialect
|
static int |
ERRbadfid
|
static int |
ERRbadfile
File not found |
static int |
ERRbadfunc
Invalid function |
static int |
ERRbadLogonTime
The user is not permitted to access the server at this time |
static int |
ERRbadnetname
The network name cannot be found |
static int |
ERRbadparm
|
static int |
ERRbadpath
Directory invalid |
static int |
ERRbadpw
Bad password |
static int |
ERRbadshare
The file is being used by another process |
static int |
ERRbaduid
|
static int |
ERRbrokenpipe
The pipe has been ended |
static int |
ERRCLI
|
static int |
ERRCMD
|
static int |
ERRdfs
|
static int |
ERRDOS
|
static int |
ERRdupname
A duplicate name exists on the network |
static int |
ERRerror
Non-specific error code |
static int |
ERRexists
File exists |
static int |
ERRfilexists
Cannot create a file when that file already exists |
static int |
ERRgeneral
General failure |
static int |
ERRHRD
|
static int |
ERRimpossible
|
static int |
ERRinappro
|
static int |
ERRinvname
Invalid name |
static int |
ERRinvnetname
|
static int |
ERRinvnid
|
static int |
ERRioe
|
static int |
ERRlistFiles
|
static int |
ERRnoaccess
Access denied |
static int |
ERRnodata
The pipe is being closed |
static int |
ERRnolisting
The list of servers for this workgroup is not currently available |
static int |
ERRnomoreconn
|
static int |
ERRnoproc
No process is on the other end of the pipe |
static int |
ERRnospace
Not enough storage is available to process this command |
static int |
ERRnotempty
The directory is not empty |
static int |
ERRnotready
The device is not ready |
static int |
ERRnowrite
Attempt to write on write-protected media |
static int |
ERROR_MORE_DATA
|
static int |
ERRpasswordExpired
The password of the user has expired |
static int |
ERRpipebusy
All pipe instances are busy |
static int |
ERRRAP
|
static int |
ERRreserved
Reserved (a.k.a. |
static int |
ERRserverTimeout
|
static int |
ERRSRV
|
static int |
ERRtoomanyuids
Too many Uids active on this session |
static int |
ERRunknownHost
|
static int |
ERRunknownType
|
static int |
NERR_BasicTransactConfig
|
static int |
NERR_ServerNotStarted
|
static int |
NERR_Success
|
static int |
SUCCESS
|
Method Summary | |
int |
getErrorClass()
Retrieve the error class associated with this error. |
int |
getErrorCode()
Retrieve the error code associated with this error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SUCCESS
public static final int ERRDOS
public static final int ERRSRV
public static final int ERRHRD
public static final int ERRCMD
public static final int ERRRAP
public static final int ERRCLI
public static final int ERRbadfunc
public static final int ERRbadfile
public static final int ERRbadpath
public static final int ERRnoaccess
public static final int ERRbadfid
public static final int ERRnospace
public static final int ERRbadshare
public static final int ERRdupname
public static final int ERRbadnetname
public static final int ERRnomoreconn
public static final int ERRbadparm
public static final int ERRfilexists
public static final int ERRtoomanyuids
public static final int ERRbrokenpipe
public static final int ERRinvname
public static final int ERRnotempty
public static final int ERRexists
public static final int ERRpipebusy
public static final int ERRnodata
public static final int ERRnoproc
public static final int ERRerror
public static final int ERRbadpw
public static final int ERRreserved
public static final int ERRaccess
public static final int ERRinvnid
public static final int ERRinvnetname
public static final int ERRbaduid
public static final int ERRaccountExpired
public static final int ERRbadClient
public static final int ERRbadLogonTime
public static final int ERRpasswordExpired
public static final int ERRnolisting
public static final int ERRnowrite
public static final int ERRnotready
public static final int ERRgeneral
public static final int NERR_Success
public static final int ERROR_MORE_DATA
public static final int NERR_ServerNotStarted
public static final int NERR_BasicTransactConfig
public static final int ERRserverTimeout
public static final int ERRbadDialect
public static final int ERRioe
public static final int ERRlistFiles
public static final int ERRunknownHost
public static final int ERRinappro
public static final int ERRunknownType
public static final int ERRdfs
public static final int ERRimpossible
Method Detail |
public int getErrorClass()
public int getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |