public class I2PSocketException extends SocketException
| Modifier and Type | Field and Description |
|---|---|
static int | STATUS_CONNECTION_RESETRouter and I2CP status codes are 0 - 511. |
| Constructor and Description |
|---|
I2PSocketException(int status)Use canned message for this status code. |
I2PSocketException(String message)Use message provided |
| Modifier and Type | Method and Description |
|---|---|
String | getLocalizedMessage()Translated |
String | getMessage()For programmatic action based on specific failure code |
int | getStatus()For programmatic action based on specific failure code |
addSuppressed, 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)
message - the detail messagepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String getMessage()
getMessage in class Throwablepublic int getStatus()