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

Constructor Index

 o SMBException(int, int)
Construct an SMB exception with the specified error class/error code.
 o SMBException(int, int, String)
Construct an SMB exception with the specified error class/error code and additional text error message.

Method Index

 o getErrorClass()
Return the error class for this SMB exception.
 o getErrorCode()
Return the error code for this SMB exception
 o getErrorText()
Return the error text for the SMB exception

Constructors

 o SMBException
 public SMBException(int errclass,
                     int errcode)
Construct an SMB exception with the specified error class/error code.

 o 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.

Methods

 o getErrorClass
 public int getErrorClass()
Return the error class for this SMB exception.

Returns:
SMB error class.
 o getErrorCode
 public int getErrorCode()
Return the error code for this SMB exception

Returns:
SMB error code
 o 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