public class SocksException
extends java.io.IOException
| Constructor and Description |
|---|
SocksException(int errCode)
Construct a SocksException with given errorcode.
|
SocksException(int errCode,
java.lang.String errString)
Constructs a SocksException with given error code and message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode()
Get the error code associated with this exception.
|
java.lang.String |
toString()
Get human readable representation of this exception.
|
public SocksException(int errCode)
Tries to look up message which corresponds to this error code.
errCode - Error code for this exception.public SocksException(int errCode,
java.lang.String errString)
errCode - Error code.errString - Error Message.public int getErrorCode()
public java.lang.String toString()
toString in class java.lang.ThrowableCopyright © 2012. All Rights Reserved.