Enum Class BuildException.Reason
- All Implemented Interfaces:
Serializable, Comparable<BuildException.Reason>, Constable
- Enclosing class:
BuildException
The reason the build failed.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere is a problem with the build configuration.There is an unexpected problem with the build process, typically due to an exception that cannot be handled and which should be added asBuildException.cause(Throwable).A requested resource is unavailable, because transforming one kind of resource into another kind of resource failed due to an inconsistent state of the resources. -
Method Summary
Modifier and TypeMethodDescriptionstatic BuildException.ReasonReturns the enum constant of this class with the specified name.static BuildException.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Configuration
There is a problem with the build configuration. The exception's message and optional details should provide more information. -
Error
There is an unexpected problem with the build process, typically due to an exception that cannot be handled and which should be added asBuildException.cause(Throwable). TheBuildExceptionwill be reported to the user with the stack trace.
-
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
-