public static enum MojangsonParseException.ParseExceptionReason extends Enum<MojangsonParseException.ParseExceptionReason>
Enum Constant and Description |
---|
INCOMPATIBLE_TYPE |
INVALID_FORMAT_NUM |
UNEXPECTED_SYMBOL |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
static MojangsonParseException.ParseExceptionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MojangsonParseException.ParseExceptionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MojangsonParseException.ParseExceptionReason INVALID_FORMAT_NUM
public static final MojangsonParseException.ParseExceptionReason UNEXPECTED_SYMBOL
public static final MojangsonParseException.ParseExceptionReason INCOMPATIBLE_TYPE
public static MojangsonParseException.ParseExceptionReason[] values()
for (MojangsonParseException.ParseExceptionReason c : MojangsonParseException.ParseExceptionReason.values()) System.out.println(c);
public static MojangsonParseException.ParseExceptionReason 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 nullpublic String getMessage()
Copyright © 2021. All rights reserved.