Serializablepublic class I2PSocketException extends SocketException
| Modifier and Type | Field | Description |
|---|---|---|
static int |
STATUS_CONNECTION_RESET |
Router and I2CP status codes are 0 - 511.
|
| Constructor | Description |
|---|---|
I2PSocketException(int status) |
Use canned message for this status code.
|
I2PSocketException(String message) |
Use message provided
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getLocalizedMessage() |
Translated
|
String |
getMessage() |
For programmatic action based on specific failure code
|
int |
getStatus() |
For programmatic action based on specific failure code
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int STATUS_CONNECTION_RESET
public I2PSocketException(int status)
status - >= 0 from MessageStatusMessage or SendMessageStatusListenerpublic I2PSocketException(String message)
public int getStatus()
public String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwable