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.


Constructor Summary
SMBErrorText()
           
 
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
 

Constructor Detail

SMBErrorText

public SMBErrorText()
Method Detail

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.