All Packages Class Hierarchy This Package Previous Next Index
Class com.starla.lite.SMBException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----com.starla.lite.SMBException
- public class SMBException
- extends 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.
- Version:
- 1.0
-
SMBException(int, int)
- Construct an SMB exception with the specified error class/error code.
-
SMBException(int, int, String)
- Construct an SMB exception with the specified error class/error code and
additional text error message.
-
getErrorClass()
- Return the error class for this SMB exception.
-
getErrorCode()
- Return the error code for this SMB exception
-
getErrorText()
- Return the error text for the SMB exception
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,
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 String getErrorText()
- Return the error text for the SMB exception
- Returns:
- Error text string.
All Packages Class Hierarchy This Package Previous Next Index