Package chemaxon.sss.search.options
Enum Class HaltOnErrorOption
- All Implemented Interfaces:
- chemaxon.sss.search.options.HasOptionString,- Serializable,- Comparable<HaltOnErrorOption>,- java.lang.constant.Constable
@PublicApi
public enum HaltOnErrorOption
extends Enum<HaltOnErrorOption>
implements chemaxon.sss.search.options.HasOptionString
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic HaltOnErrorOptionfromString(String str) Gets the halt on error option value for the string representation.toString()Returns the string representation.static HaltOnErrorOptionReturns the enum constant of this class with the specified name.static HaltOnErrorOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
DEFAULTDefault 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.
- 
YESStop on any errors during the search.
- 
NORecover 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 Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
- 
toStringReturns the string representation.- Overrides:
- toStringin class- Enum<HaltOnErrorOption>
 
- 
getOptionString- Specified by:
- getOptionStringin interface- chemaxon.sss.search.options.HasOptionString
 
- 
fromStringGets the halt on error option value for the string representation.- Parameters:
- str- halt on error option string
- Returns:
- the halt on error option
 
 
-