public static enum UscError.ErrorCode extends Enum<UscError.ErrorCode>
Enum Constant and Description |
---|
E_OTHER |
EADDRINUSE |
EAGAIN |
ECONNABORTED |
ECONNREFUSED |
ECONNRESET |
EISCONN |
ENETDOWN |
ENETRESET |
ENETUNREACH |
ENOTCONN |
EPIPE |
ESHUTDOWN |
ETIMEDOUT |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
toString() |
static UscError.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UscError.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UscError.ErrorCode EAGAIN
public static final UscError.ErrorCode EPIPE
public static final UscError.ErrorCode EADDRINUSE
public static final UscError.ErrorCode ENETDOWN
public static final UscError.ErrorCode ENETUNREACH
public static final UscError.ErrorCode ENETRESET
public static final UscError.ErrorCode ECONNABORTED
public static final UscError.ErrorCode ECONNRESET
public static final UscError.ErrorCode EISCONN
public static final UscError.ErrorCode ENOTCONN
public static final UscError.ErrorCode ESHUTDOWN
public static final UscError.ErrorCode ETIMEDOUT
public static final UscError.ErrorCode ECONNREFUSED
public static final UscError.ErrorCode E_OTHER
public static UscError.ErrorCode[] values()
for (UscError.ErrorCode c : UscError.ErrorCode.values()) System.out.println(c);
public static UscError.ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public String toString()
toString
in class Enum<UscError.ErrorCode>
Copyright © 2019 OpenDaylight. All rights reserved.