Enum Class ErrorCategoryType
java.lang.Object
java.lang.Enum<ErrorCategoryType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ErrorCategoryType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<ErrorCategoryType>
,Constable
Categorizes errors. Mirrors ErrorSelectorType structure.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConfiguration errors.Generic, system and other non-specific issues.Network errors (connection refused, timeouts, unreachable network, connection resets, ...).Policy violations.Policy threshold violations.Schema and data format errors.Security issues (failed authentication, permission denied, ...)."Unsupported operation" issues. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCategoryType
value()
Returns enum value defined as in schema.static ErrorCategoryType
Returns the enum constant of this class with the specified name.static ErrorCategoryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NETWORK
Network errors (connection refused, timeouts, unreachable network, connection resets, ...). -
SECURITY
Security issues (failed authentication, permission denied, ...). -
POLICY
Policy violations. The operation failed because it violates defined policies (e.g. exclusion policies), it fails data consistency checks, etc. -
POLICY_THRESHOLD
Policy threshold violations. The operation failed because it matched given policy rule more than defined times (a threshold). This is a subtype of "policy" category. -
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
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
"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
Generic, system and other non-specific issues. These errors do not have any substantial definition about their cause. The error may mean anything.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-