Enum SearchError.Reason
- java.lang.Object
-
- java.lang.Enum<SearchError.Reason>
-
- com.funnelback.publicui.search.model.transaction.SearchError.Reason
-
- All Implemented Interfaces:
Serializable
,Comparable<SearchError.Reason>
- Enclosing class:
- SearchError
public static enum SearchError.Reason extends Enum<SearchError.Reason>
Generic reasons of errors.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DataFetchError
InputProcessorError
InvalidCollection
MissingParameter
OutputProcessorError
Unknown
-
Constructor Summary
Constructors Modifier Constructor Description private
Reason()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchError.Reason
valueOf(String name)
Returns the enum constant of this type with the specified name.static SearchError.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InvalidCollection
public static final SearchError.Reason InvalidCollection
-
MissingParameter
public static final SearchError.Reason MissingParameter
-
InputProcessorError
public static final SearchError.Reason InputProcessorError
-
DataFetchError
public static final SearchError.Reason DataFetchError
-
OutputProcessorError
public static final SearchError.Reason OutputProcessorError
-
Unknown
public static final SearchError.Reason Unknown
-
-
Method Detail
-
values
public static SearchError.Reason[] 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 (SearchError.Reason c : SearchError.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchError.Reason 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 nameNullPointerException
- if the argument is null
-
-