public class SMBException extends Exception
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.
Modifier and Type | Field and Description |
---|---|
protected int |
m_errorclass |
protected int |
m_errorcode |
Constructor and Description |
---|
SMBException(int errclass,
int errcode)
Construct an SMB exception with the specified error class/error code.
|
SMBException(int errclass,
int errcode,
String msg)
Construct an SMB exception with the specified error class/error code and
additional text error message.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorClass()
Return the error class for this SMB exception.
|
int |
getErrorCode()
Return the error code for this SMB exception
|
String |
getErrorText()
Return the error text for the SMB exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SMBException(int errclass, int errcode)
public SMBException(int errclass, int errcode, String msg)
public int getErrorClass()
public int getErrorCode()
public String getErrorText()
Copyright © 2005–2018 Alfresco Software. All rights reserved.