public enum MacroExceptionCode extends Enum<MacroExceptionCode>
Enum Constant and Description |
---|
Not_Macro |
UnknownError |
Wrong_arguments |
WrongFormat |
Modifier and Type | Method and Description |
---|---|
static MacroExceptionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MacroExceptionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MacroExceptionCode UnknownError
public static final MacroExceptionCode Not_Macro
public static final MacroExceptionCode WrongFormat
public static final MacroExceptionCode Wrong_arguments
public static MacroExceptionCode[] values()
for (MacroExceptionCode c : MacroExceptionCode.values()) System.out.println(c);
public static MacroExceptionCode 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 © 2016–2018. All rights reserved.