public static enum PartialReadException.CauseType extends Enum<PartialReadException.CauseType>
PartialReadException
.
Enum Constant and Description |
---|
EARLY_EOF |
INTERRUPT |
OUTPUT |
SERVER_ERROR |
TIMEOUT |
TRANSPORT_ERROR |
Modifier and Type | Method and Description |
---|---|
Class<? extends Throwable> |
getType() |
static PartialReadException.CauseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartialReadException.CauseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartialReadException.CauseType INTERRUPT
public static final PartialReadException.CauseType TIMEOUT
public static final PartialReadException.CauseType SERVER_ERROR
public static final PartialReadException.CauseType TRANSPORT_ERROR
public static final PartialReadException.CauseType OUTPUT
public static final PartialReadException.CauseType EARLY_EOF
public static PartialReadException.CauseType[] values()
for (PartialReadException.CauseType c : PartialReadException.CauseType.values()) System.out.println(c);
public static PartialReadException.CauseType 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 © 2023. All Rights Reserved.