com.ibm.itim.apps

Class SchemaViolationException

  • All Implemented Interfaces:
    java.io.Serializable


    public class SchemaViolationException
    extends ApplicationException
    General exception for LDAP schema violations such as invalid syntax or missing required attribute errors.
    See Also:
    Serialized Form
    • Field Detail

      • REQUIRED_ATTR_MISSING

        public static final java.lang.String REQUIRED_ATTR_MISSING
        String constant for a missing required attribute error.
        See Also:
        Constant Field Values
      • SCHEMA_VIOLATION

        public static final java.lang.String SCHEMA_VIOLATION
        String constant for a schema violation error.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SchemaViolationException

        public SchemaViolationException(java.lang.String errCode)
        Constructs with an error code.
        Parameters:
        errCode - Code for the error.
      • SchemaViolationException

        public SchemaViolationException(java.lang.String errCode,
                                        java.lang.Throwable cause)
        Constructs with an error code and the cause exception.
        Parameters:
        errCode - Error code identifying the problem.
        cause - Throwable representing the exception causing this exception.
      • SchemaViolationException

        public SchemaViolationException(java.lang.String errCode,
                                        java.lang.Object[] tokens,
                                        java.lang.Throwable cause)
        Constructs with an error code, message tokens, and the cause exception.
        Parameters:
        errCode - Error code identifying the problem.
        tokens - Object[] containing string values for replaceable tokens in the message bundle string.
        cause - Throwable representing the exception causing this exception.
      • SchemaViolationException

        public SchemaViolationException(java.lang.String errCode,
                                        java.util.Collection collection)
        Constructs with an error code and Collection of String of missing attribute(s) name.
        Parameters:
        errCode - Error code identifying the problem.
        collection - Collection of String of missing attribute name(s).
    • Method Detail

      • getViolationAttrs

        public java.util.Collection getViolationAttrs()
        Returns a Collection of String that are the attribute names of attributes that violate the schema.
        Returns:
        Collection of String of attribute name(s) found to violate the schema.