public final class Errors
extends java.lang.Object
Static members which call JNI methods must be defined in ErrorsStaticallyReferencedJniMethods.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Errors.NativeIoExceptionInternal 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_ENOENT_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(java.lang.String method,
        int err,
        Errors.NativeIoException resetCause,
        java.nio.channels.ClosedChannelException closedCause) | 
| static Errors.NativeIoException | newConnectionResetException(java.lang.String method,
                           int errnoNegative) | 
| static Errors.NativeIoException | newIOException(java.lang.String method,
              int err) | 
public static final int ERRNO_ENOENT_NEGATIVE
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(java.lang.String method, int errnoNegative)
public static Errors.NativeIoException newIOException(java.lang.String method, int err)
public static int ioResult(java.lang.String method,
                           int err,
                           Errors.NativeIoException resetCause,
                           java.nio.channels.ClosedChannelException closedCause)
                    throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2018 The Netty Project. All rights reserved.