Enum ConfigurationReference.ErrorPhase
java.lang.Object
java.lang.Enum<ConfigurationReference.ErrorPhase>
org.spongepowered.configurate.reference.ConfigurationReference.ErrorPhase
- All Implemented Interfaces:
- Serializable,- Comparable<ConfigurationReference.ErrorPhase>
- Enclosing interface:
- ConfigurationReference<N extends ConfigurationNode>
public static enum ConfigurationReference.ErrorPhase
extends Enum<ConfigurationReference.ErrorPhase>
Representing the phase where an error occurred.
- Since:
- 4.0.0
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static ConfigurationReference.ErrorPhase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
LOADINGWhile loading a configuration node from an external location.- Since:
- 4.0.0
 
- 
SAVINGWhile saving a configuration node to an external location.- Since:
- 4.0.0
 
- 
UNKNOWNWhen no further detail is known.- Since:
- 4.0.0
 
- 
VALUEWhile deserializing a value.- Since:
- 4.0.0
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-