Enum ErrorInformation.ErrorAction

    • Enum Constant Detail

      • 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
    • Method Detail

      • values

        public static ErrorInformation.ErrorAction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ErrorInformation.ErrorAction c : ErrorInformation.ErrorAction.values())
            System.out.println(c);
        
        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