Enum ON_ERROR_MODE

    • Enum Constant Detail

      • THROW_EXCEPTION

        public static final ON_ERROR_MODE THROW_EXCEPTION
        An exception should be thrown.
      • NO_ACTION

        public static final ON_ERROR_MODE NO_ACTION
        No action should be performed.
    • Method Detail

      • values

        public static ON_ERROR_MODE[] 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 (ON_ERROR_MODE c : ON_ERROR_MODE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ON_ERROR_MODE 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