Enum HaltOnErrorOption

    • Enum Constant Detail

      • DEFAULT

        public static final HaltOnErrorOption DEFAULT
        Default error handling. In case of Markush targets the search recovers from errors if possible. In case of other search targets the search stops on first error.
      • YES

        public static final HaltOnErrorOption YES
        Stop on any errors during the search.
      • NO

        public static final HaltOnErrorOption NO
        Recover from record level errors if possible. In case of general errors: incompatible query, query - search option pair or license error the search is stopped.
    • Method Detail

      • values

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

        public static HaltOnErrorOption 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
      • getOptionString

        public String getOptionString()
        Specified by:
        getOptionString in interface chemaxon.sss.search.options.HasOptionString
      • fromString

        public static HaltOnErrorOption fromString​(String str)
        Gets the halt on error option value for the string representation.
        Parameters:
        str - halt on error option string
        Returns:
        the halt on error option