Enum ErrorInformation.ErrorAction

java.lang.Object
java.lang.Enum<ErrorInformation.ErrorAction>
org.glassfish.hk2.runlevel.ErrorInformation.ErrorAction
All Implemented Interfaces:
Serializable, Comparable<ErrorInformation.ErrorAction>
Enclosing interface:
ErrorInformation

public static enum ErrorInformation.ErrorAction extends Enum<ErrorInformation.ErrorAction>
The set of actions that the system can perform when an error is detected
  • Enum Constant Details

    • GO_TO_NEXT_LOWER_LEVEL_AND_STOP

      public static final ErrorInformation.ErrorAction GO_TO_NEXT_LOWER_LEVEL_AND_STOP
      Tells the RunLevelController to halt progress in the level and proceed to the next lowest level and stop the proceeding at that level. This is the default action when an error is encountered while the system is proceeding upward. The error (or errors) will be thrown by the RunLevelFuture
    • IGNORE

      public static final ErrorInformation.ErrorAction IGNORE
      Tells the RunLevelController to disregard the error and continue its progress as if the error never happened. This is the default action when an error is encountered while the system is proceeding downward. The error (or errors) will NOT be thrown by the RunLevelFuture
  • Constructor Details

    • ErrorAction

      private ErrorAction()
  • Method Details

    • values

      public static ErrorInformation.ErrorAction[] values()
      Returns 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
    • valueOf

      public static ErrorInformation.ErrorAction valueOf(String name)
      Returns 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