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

public enum ErrorCategoryType extends Enum<ErrorCategoryType> implements TypeSafeEnum
Categorizes errors. Mirrors ErrorSelectorType structure.
  • Enum Constant Details

    • 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.
    • POLICY_THRESHOLD

      public static final ErrorCategoryType 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

      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 Details

    • values

      public static ErrorCategoryType[] 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

      public static ErrorCategoryType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static ErrorCategoryType fromValue(String v)