public class SocksException extends IOException
Constructor and Description |
---|
SocksException(int errCode)
Construct a SocksException with given errorcode.
|
SocksException(int errCode,
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.
|
String |
toString()
Get human readable representation of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
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, String errString)
errCode
- Error code.errString
- Error Message.Copyright © 2024. All rights reserved.