Package io.github.chrimle.sbspi
Enum Class StaticValueInjectorException.Reason
java.lang.Object
java.lang.Enum<StaticValueInjectorException.Reason>
io.github.chrimle.sbspi.StaticValueInjectorException.Reason
- All Implemented Interfaces:
Serializable
,Comparable<StaticValueInjectorException.Reason>
,Constable
- Enclosing class:
- StaticValueInjectorException
public static enum StaticValueInjectorException.Reason
extends Enum<StaticValueInjectorException.Reason>
The reason for the
StaticValueInjectorException
being thrown.- Since:
- 0.1.0
- Author:
- Chrimle
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheStaticValue.value()
was empty.TheStaticValue.value()
could not be parsed.TheStaticValue.value()
was in an unsupported format.The class annotated withStaticValue
could not be found. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static StaticValueInjectorException.Reason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANNOTATION_VALUE_EMPTY
TheStaticValue.value()
was empty.- Since:
- 0.1.0
-
ANNOTATION_VALUE_UNPARSABLE
TheStaticValue.value()
could not be parsed.- Since:
- 0.1.0
-
ANNOTATION_VALUE_UNSUPPORTED
TheStaticValue.value()
was in an unsupported format.- Since:
- 0.1.0
-
CLASS_NOT_FOUND
The class annotated withStaticValue
could not be found.- Since:
- 0.1.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-