public enum SpeedTestError extends java.lang.Enum<SpeedTestError>
| Enum Constant and Description |
|---|
CONNECTION_ERROR
connection error occured.
|
INVALID_HTTP_RESPONSE
invalid http response was returned.
|
SOCKET_ERROR
socket error occured.
|
SOCKET_TIMEOUT
socket timeout occured.
|
| Modifier and Type | Method and Description |
|---|---|
static SpeedTestError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpeedTestError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpeedTestError INVALID_HTTP_RESPONSE
public static final SpeedTestError SOCKET_ERROR
public static final SpeedTestError SOCKET_TIMEOUT
public static final SpeedTestError CONNECTION_ERROR
public static SpeedTestError[] values()
for (SpeedTestError c : SpeedTestError.values()) System.out.println(c);
public static SpeedTestError 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 null