com.starla.smb
Class SMBException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.starla.smb.SMBException
- public class SMBException
- extends java.lang.Exception
SMB exception class
This class holds the detail of an SMB network error. The SMB error class and
error code are available to give extra detail about the error condition.
- See Also:
- Serialized Form
Constructor Summary |
SMBException(int errclass,
int errcode)
Construct an SMB exception with the specified error class/error code. |
SMBException(int errclass,
int errcode,
java.lang.String msg)
Construct an SMB exception with the specified error class/error code and
additional text error message. |
Method Summary |
int |
getErrorClass()
Return the error class for this SMB exception. |
int |
getErrorCode()
Return the error code for this SMB exception |
java.lang.String |
getErrorText()
Return the error text for the SMB exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
SMBException
public SMBException(int errclass,
int errcode)
- Construct an SMB exception with the specified error class/error code.
SMBException
public SMBException(int errclass,
int errcode,
java.lang.String msg)
- Construct an SMB exception with the specified error class/error code and
additional text error message.
getErrorClass
public int getErrorClass()
- Return the error class for this SMB exception.
- Returns:
- SMB error class.
getErrorCode
public int getErrorCode()
- Return the error code for this SMB exception
- Returns:
- SMB error code
getErrorText
public java.lang.String getErrorText()
- Return the error text for the SMB exception
- Returns:
- Error text string.