public static enum SocketConnector.ErrorReason extends Enum<SocketConnector.ErrorReason>
| Enum Constant and Description |
|---|
IOError |
SocketCloseError |
Timeout |
| Modifier and Type | Method and Description |
|---|---|
static SocketConnector.ErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketConnector.ErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketConnector.ErrorReason Timeout
public static final SocketConnector.ErrorReason IOError
public static final SocketConnector.ErrorReason SocketCloseError
public static SocketConnector.ErrorReason[] values()
for (SocketConnector.ErrorReason c : SocketConnector.ErrorReason.values()) System.out.println(c);
public static SocketConnector.ErrorReason 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 © 2014–2025 Onix Solutions. All rights reserved.