Enum ErrorCategoryType
- java.lang.Object
-
- java.lang.Enum<ErrorCategoryType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ErrorCategoryType
-
- All Implemented Interfaces:
Serializable
,Comparable<ErrorCategoryType>
public enum ErrorCategoryType extends Enum<ErrorCategoryType>
<p>Java class for ErrorCategoryType. <p>The following schema fragment specifies the expected content contained within this class. <p> <pre> <simpleType name="ErrorCategoryType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="network"/> <enumeration value="security"/> <enumeration value="policy"/> <enumeration value="schema"/> <enumeration value="configuration"/> <enumeration value="unsupported"/> <enumeration value="generic"/> </restriction> </simpleType> </pre>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIGURATION
Configuration errors.GENERIC
Generic, system and other non-specific issues.NETWORK
Network errors (connection refused, timeouts, unreachable network, connection resets, ...).POLICY
Policy violations.SCHEMA
Schema and data format errors.SECURITY
Security issues (failed authentication, permission denied, ...).UNSUPPORTED
"Unsupported operation" issues.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorCategoryType
fromValue(String v)
String
value()
static ErrorCategoryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ErrorCategoryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NETWORK
public static final ErrorCategoryType NETWORK
Network errors (connection refused, timeouts, unreachable network, connection resets, ...).
-
SECURITY
public static final ErrorCategoryType SECURITY
Security issues (failed authentication, permission denied, ...).
-
POLICY
public static final ErrorCategoryType POLICY
Policy violations. The operation failed because it violates defined policies (e.g. exclusion policies), it fails data consistency checks, etc.
-
SCHEMA
public static final ErrorCategoryType SCHEMA
Schema and data format errors. These are errors that data not complete, they contain unexpected elements, they do not match pre-defined schema, etc.
-
CONFIGURATION
public static final ErrorCategoryType CONFIGURATION
Configuration errors. These are caused by misconfiguration of midPoint, some of its components, the connector or the resource. This also includes run-time errors that are likely caused by the configuration, such as generic errors in the expressions.
-
UNSUPPORTED
public static final ErrorCategoryType UNSUPPORTED
"Unsupported operation" issues. These errors are caused by lack of functionality or support for the operation in connector or any other part of midPoint. E.g. this may be missing (or disabled) connector capability.
-
GENERIC
public static final ErrorCategoryType GENERIC
Generic, system and other non-specific issues. These errors do not have any substantial definition about their cause. The error may mean anything.
-
-
Method Detail
-
values
public static ErrorCategoryType[] 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 (ErrorCategoryType c : ErrorCategoryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCategoryType 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
-
value
public String value()
-
fromValue
public static ErrorCategoryType fromValue(String v)
-
-