com.starla.smb
Class SMBErrorText
java.lang.Object
|
+--com.starla.smb.SMBErrorText
- public final class SMBErrorText
- extends java.lang.Object
SMB error text class.
The SMBErrorText is a static class that converts SMB error class/error codes into
their appropriate error message strings. The class is used by the SMBException
class when outputting an SMB exception as a string.
SMB error classes and error codes are declared in the SMBStatus class.
Method Summary |
static java.lang.String |
ErrorString(int errclass,
int errcode)
Return the error string associated with the SMB error class/code |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SMBErrorText
public SMBErrorText()
ErrorString
public static final java.lang.String ErrorString(int errclass,
int errcode)
- Return the error string associated with the SMB error class/code
- Parameters:
errclass
- Error class.errcode
- Error code.- Returns:
- Error string.