Enum Class BuildException.Reason

java.lang.Object
java.lang.Enum<BuildException.Reason>
org.jdrupes.builder.api.BuildException.Reason
All Implemented Interfaces:
Serializable, Comparable<BuildException.Reason>, Constable
Enclosing class:
BuildException

The reason the build failed.
  • Enum Constant Details

    • Unavailable

      public static final BuildException.Reason Unavailable
      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. It is up to the provider to emit messages that describe the reason for the failure.
    • Configuration

      public static final BuildException.Reason Configuration
      There is a problem with the build configuration. The exception's message and optional details should provide more information.
    • Error

      public static final BuildException.Reason Error
      There is an unexpected problem with the build process, typically due to an exception that cannot be handled and which should be added as BuildException.cause(Throwable). The BuildException will be reported to the user with the stack trace.
  • Method Details

    • values

      public static BuildException.Reason[] 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

      public static BuildException.Reason valueOf(String name)
      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 name
      NullPointerException - if the argument is null