Enum ErrorCategoryType

  • All Implemented Interfaces:
    Serializable, Comparable<ErrorCategoryType>

    public enum ErrorCategoryType
    extends Enum<ErrorCategoryType>

    Java class for ErrorCategoryType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="ErrorCategoryType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="network"/>
         <enumeration value="security"/>
         <enumeration value="policy"/>
         <enumeration value="policyThreshold"/>
         <enumeration value="schema"/>
         <enumeration value="configuration"/>
         <enumeration value="unsupported"/>
         <enumeration value="generic"/>
       </restriction>
     </simpleType>
     
    • 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.
      • 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 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 name
        NullPointerException - if the argument is null
      • value

        public String value()