Static members which call JNI methods must be defined in ErrorsStaticallyReferencedJniMethods.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Errors.
Internal usage only! |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static final String[] | ERRORS
Holds the mappings for errno codes to String messages. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | |
| public static int | ioResult(String method, int err, Errors.
Deprecated
|
| public static int | |
| private static IOException | |
| public static Errors. | |
| public static Errors. |
| ERRNO_EAGAIN_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_EAGAIN_NEGATIVE | |
| ERRNO_EBADF_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_EBADF_NEGATIVE | |
| ERRNO_ECONNRESET_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_ECONNRESET_NEGATIVE | |
| ERRNO_EINPROGRESS_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_EINPROGRESS_NEGATIVE | |
| ERRNO_ENOENT_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_ENOENT_NEGATIVE | |
| ERRNO_ENOTCONN_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_ENOTCONN_NEGATIVE | |
| ERRNO_EPIPE_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_EPIPE_NEGATIVE | |
| ERRNO_EWOULDBLOCK_NEGATIVE | back to summary |
|---|---|
| public static final int ERRNO_EWOULDBLOCK_NEGATIVE | |
| ERROR_EALREADY_NEGATIVE | back to summary |
|---|---|
| public static final int ERROR_EALREADY_NEGATIVE | |
| ERROR_ECONNREFUSED_NEGATIVE | back to summary |
|---|---|
| public static final int ERROR_ECONNREFUSED_NEGATIVE | |
| ERROR_EISCONN_NEGATIVE | back to summary |
|---|---|
| public static final int ERROR_EISCONN_NEGATIVE | |
| ERROR_ENETUNREACH_NEGATIVE | back to summary |
|---|---|
| public static final int ERROR_ENETUNREACH_NEGATIVE | |
| ERRORS | back to summary |
|---|---|
| private static final String[] ERRORS Holds the mappings for errno codes to String messages. This eliminates the need to call back into JNI to get the right String message on an exception and thus is faster. The array length of 512 should be more then enough because errno.h only holds < 200 codes. | |
| Errors | back to summary |
|---|---|
| private Errors() | |
| handleConnectErrno | back to summary |
|---|---|
| pack-priv static boolean handleConnectErrno(String method, int err) throws IOException | |
| ioResult | back to summary |
|---|---|
| public static int ioResult(String method, int err, Errors. Deprecated
| |
| ioResult | back to summary |
|---|---|
| public static int ioResult(String method, int err) throws IOException | |
| newConnectException0 | back to summary |
|---|---|
| private static IOException newConnectException0(String method, int err) | |
| newConnectionResetException | back to summary |
|---|---|
| public static Errors. | |
| newIOException | back to summary |
|---|---|
| public static Errors. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final boolean | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public synchronized Throwable | fillInStackTrace()
Overrides java. |
| expectedErr | back to summary |
|---|---|
| private final int expectedErr | |
| fillInStackTrace | back to summary |
|---|---|
| private final boolean fillInStackTrace | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NativeIoException | back to summary |
|---|---|
| public NativeIoException(String method, int expectedErr) | |
| NativeIoException | back to summary |
|---|---|
| public NativeIoException(String method, int expectedErr, boolean fillInStackTrace) | |
| expectedErr | back to summary |
|---|---|
| public int expectedErr() | |
| fillInStackTrace | back to summary |
|---|---|
| public synchronized Throwable fillInStackTrace() Overrides java. Doc from java. Fills in the execution stack trace. This method records within this
If the stack trace of this | |