Enum Constant and Description |
---|
EACCESS |
EADDRINUSE |
EADDRNOTAVAIL |
EAFNOSUPPORT |
EAGAIN |
ECONNABORTED |
ECONNREFUSED |
ECONNRESET |
EFAULT |
EFSM |
EHOSTUNREACH |
EINPROGRESS |
EINTR |
EINVAL |
EIOEXC |
EISCONN |
EMFILE |
EMSGSIZE |
EMTHREAD |
ENETDOWN |
ENETRESET |
ENETUNREACH |
ENOBUFS |
ENOCOMPATPROTO |
ENOENT |
ENOTCONN |
ENOTSOCK |
ENOTSUP |
EPROTO |
EPROTONOSUPPORT |
ESOCKET |
ETERM |
ETIMEDOUT |
Modifier and Type | Field and Description |
---|---|
private int |
code |
private static java.util.Map<java.lang.Integer,ZMQ.Error> |
map |
private java.lang.String |
message |
Modifier and Type | Method and Description |
---|---|
static ZMQ.Error |
findByCode(int code) |
int |
getCode() |
java.lang.String |
getMessage() |
static ZMQ.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZMQ.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZMQ.Error ENOTSUP
public static final ZMQ.Error EPROTONOSUPPORT
public static final ZMQ.Error ENOBUFS
public static final ZMQ.Error ENETDOWN
public static final ZMQ.Error EADDRINUSE
public static final ZMQ.Error EADDRNOTAVAIL
public static final ZMQ.Error ECONNREFUSED
public static final ZMQ.Error EINPROGRESS
public static final ZMQ.Error EHOSTUNREACH
public static final ZMQ.Error EMTHREAD
public static final ZMQ.Error EFSM
public static final ZMQ.Error ENOCOMPATPROTO
public static final ZMQ.Error ETERM
public static final ZMQ.Error ENOTSOCK
public static final ZMQ.Error EAGAIN
public static final ZMQ.Error ENOENT
public static final ZMQ.Error EINTR
public static final ZMQ.Error EACCESS
public static final ZMQ.Error EFAULT
public static final ZMQ.Error EINVAL
public static final ZMQ.Error EISCONN
public static final ZMQ.Error ENOTCONN
public static final ZMQ.Error EMSGSIZE
public static final ZMQ.Error EAFNOSUPPORT
public static final ZMQ.Error ENETUNREACH
public static final ZMQ.Error ECONNABORTED
public static final ZMQ.Error ECONNRESET
public static final ZMQ.Error ETIMEDOUT
public static final ZMQ.Error ENETRESET
public static final ZMQ.Error EIOEXC
public static final ZMQ.Error ESOCKET
public static final ZMQ.Error EMFILE
public static final ZMQ.Error EPROTO
private static final java.util.Map<java.lang.Integer,ZMQ.Error> map
private final int code
private final java.lang.String message
public static ZMQ.Error[] values()
for (ZMQ.Error c : ZMQ.Error.values()) System.out.println(c);
public static ZMQ.Error valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ZMQ.Error findByCode(int code)
public int getCode()
public java.lang.String getMessage()