public static enum DccException.Reason extends Enum<DccException.Reason>
Enum Constant and Description |
---|
CHAT_CANCELLED |
CHAT_NOT_CONNECTED |
CHAT_TIMEOUT |
DCC_PORTS_IN_USE |
FILE_TRANSFER_CANCELLED |
FILE_TRANSFER_RESUME_CANCELLED |
FILE_TRANSFER_RESUME_TIMEOUT |
FILE_TRANSFER_TIMEOUT |
UNKNOWN_FILE_TRANSFER_RESUME |
Modifier and Type | Method and Description |
---|---|
static DccException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DccException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DccException.Reason UNKNOWN_FILE_TRANSFER_RESUME
public static final DccException.Reason CHAT_NOT_CONNECTED
public static final DccException.Reason CHAT_CANCELLED
public static final DccException.Reason CHAT_TIMEOUT
public static final DccException.Reason FILE_TRANSFER_CANCELLED
public static final DccException.Reason FILE_TRANSFER_TIMEOUT
public static final DccException.Reason FILE_TRANSFER_RESUME_TIMEOUT
public static final DccException.Reason FILE_TRANSFER_RESUME_CANCELLED
public static final DccException.Reason DCC_PORTS_IN_USE
public static DccException.Reason[] values()
for (DccException.Reason c : DccException.Reason.values()) System.out.println(c);
public static DccException.Reason 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 © 2010–2020 Leon Blakey. All rights reserved.