public static enum Error.ErrorCode extends Enum<Error.ErrorCode>
| Modifier and Type | Method and Description |
|---|---|
static Error.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Error.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Error.ErrorCode UnknownError
public static final Error.ErrorCode CreationError
public static final Error.ErrorCode ConnectFailedError
public static final Error.ErrorCode InvalidArgumentError
public static final Error.ErrorCode BindFailedError
public static final Error.ErrorCode AcceptFailedError
public static final Error.ErrorCode SendFailedError
public static final Error.ErrorCode ReceiveFailedError
public static final Error.ErrorCode UnknownMessageTypeError
public static final Error.ErrorCode ParseFailedError
public static final Error.ErrorCode ConnectionResetError
public static final Error.ErrorCode InvalidStateError
public static final Error.ErrorCode InvalidMessageError
public static final Error.ErrorCode ThreadInterruptError
public static final Error.ErrorCode SocketCloseError
public static Error.ErrorCode[] values()
for (Error.ErrorCode c : Error.ErrorCode.values()) System.out.println(c);
public static Error.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 nullCopyright © 2016. All rights reserved.