public final class Errors extends Object
Static members which call JNI methods must be defined in ErrorsStaticallyReferencedJniMethods
.
Modifier and Type | Class and Description |
---|---|
static class |
Errors.NativeIoException
Internal usage only!
|
Modifier and Type | Field and Description |
---|---|
static int |
ERRNO_EAGAIN_NEGATIVE |
static int |
ERRNO_EBADF_NEGATIVE |
static int |
ERRNO_ECONNRESET_NEGATIVE |
static int |
ERRNO_EINPROGRESS_NEGATIVE |
static int |
ERRNO_ENOTCONN_NEGATIVE |
static int |
ERRNO_EPIPE_NEGATIVE |
static int |
ERRNO_EWOULDBLOCK_NEGATIVE |
static int |
ERROR_EALREADY_NEGATIVE |
static int |
ERROR_ECONNREFUSED_NEGATIVE |
static int |
ERROR_EISCONN_NEGATIVE |
static int |
ERROR_ENETUNREACH_NEGATIVE |
Modifier and Type | Method and Description |
---|---|
static int |
ioResult(String method,
int err,
Errors.NativeIoException resetCause,
ClosedChannelException closedCause) |
static Errors.NativeIoException |
newConnectionResetException(String method,
int errnoNegative) |
static Errors.NativeIoException |
newIOException(String method,
int err) |
public static final int ERRNO_ENOTCONN_NEGATIVE
public static final int ERRNO_EBADF_NEGATIVE
public static final int ERRNO_EPIPE_NEGATIVE
public static final int ERRNO_ECONNRESET_NEGATIVE
public static final int ERRNO_EAGAIN_NEGATIVE
public static final int ERRNO_EWOULDBLOCK_NEGATIVE
public static final int ERRNO_EINPROGRESS_NEGATIVE
public static final int ERROR_ECONNREFUSED_NEGATIVE
public static final int ERROR_EISCONN_NEGATIVE
public static final int ERROR_EALREADY_NEGATIVE
public static final int ERROR_ENETUNREACH_NEGATIVE
public static Errors.NativeIoException newConnectionResetException(String method, int errnoNegative)
public static Errors.NativeIoException newIOException(String method, int err)
public static int ioResult(String method, int err, Errors.NativeIoException resetCause, ClosedChannelException closedCause) throws IOException
IOException
Copyright © 2008–2017 The Netty Project. All rights reserved.