public static enum IrcException.Reason extends Enum<IrcException.Reason>
Enum Constant and Description |
---|
ALREADY_CONNECTED |
CANNOT_LOGIN |
Modifier and Type | Method and Description |
---|---|
static IrcException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IrcException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IrcException.Reason ALREADY_CONNECTED
public static final IrcException.Reason CANNOT_LOGIN
public static IrcException.Reason[] values()
for (IrcException.Reason c : IrcException.Reason.values()) System.out.println(c);
public static IrcException.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.