public static enum PeerException.AbortCause extends Enum<PeerException.AbortCause>
| Enum Constant and Description |
|---|
PEER_ABORT |
PEER_ERROR |
PROBABLY_OFFLINE |
SHUTDOWN |
TIMEOUT |
USER_ABORT |
| Modifier and Type | Method and Description |
|---|---|
static PeerException.AbortCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeerException.AbortCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerException.AbortCause USER_ABORT
public static final PeerException.AbortCause PEER_ERROR
public static final PeerException.AbortCause PEER_ABORT
public static final PeerException.AbortCause TIMEOUT
public static final PeerException.AbortCause SHUTDOWN
public static final PeerException.AbortCause PROBABLY_OFFLINE
public static PeerException.AbortCause[] values()
for (PeerException.AbortCause c : PeerException.AbortCause.values()) System.out.println(c);
public static PeerException.AbortCause 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. All rights reserved.