Class LdapSchemaException

    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        The serial version UUID
        See Also:
        Constant Field Values
    • Constructor Detail

      • LdapSchemaException

        public LdapSchemaException()
        Creates a new instance of LdapSchemaException.
      • LdapSchemaException

        public LdapSchemaException​(LdapSchemaExceptionCodes code)
        Creates a new instance of LdapSchemaException.
        Parameters:
        code - The code of the exception
      • LdapSchemaException

        public LdapSchemaException​(String explanation)
        Creates a new instance of LdapSchemaException.
        Parameters:
        explanation - The message associated with the exception
      • LdapSchemaException

        public LdapSchemaException​(LdapSchemaExceptionCodes code,
                                   String explanation)
        Creates a new instance of LdapSchemaException.
        Parameters:
        code - The code of the exception
        explanation - The message associated with the exception
      • LdapSchemaException

        public LdapSchemaException​(LdapSchemaExceptionCodes code,
                                   Throwable cause)
        Parameters:
        code - The code of the exception
        cause - The root cause for this exception
      • LdapSchemaException

        public LdapSchemaException​(LdapSchemaExceptionCodes code,
                                   String explanation,
                                   Throwable cause)
        Creates a new instance of LdapSchemaException.
        Parameters:
        code - The code of the exception
        explanation - The message associated with the exception
        cause - The root cause for this exception
    • Method Detail

      • getCode

        public LdapSchemaExceptionCodes getCode()
        Gets the code of the exception.
        Returns:
        the code of the exception
      • setCode

        public void setCode​(LdapSchemaExceptionCodes code)
        Sets the code of the exception.
        Parameters:
        code - the code of the exception
      • getSourceObject

        public SchemaObject getSourceObject()
        Gets the 'source' schema object.
        Returns:
        the 'source' schema object
      • setSourceObject

        public void setSourceObject​(SchemaObject source)
        Sets the 'source' schema object.
        Parameters:
        source - the 'source' schema object
      • getOtherObject

        public SchemaObject getOtherObject()
        Gets the 'other' schema object.
        Returns:
        the 'other' schema object
      • setOtherObject

        public void setOtherObject​(SchemaObject other)
        Sets the 'other' schema object.
        Parameters:
        other - the 'other' schema object
      • getRelatedId

        public String getRelatedId()
        Gets the related ID (name or OID) of the exception.
        Returns:
        the related ID (name or OID)
      • setRelatedId

        public void setRelatedId​(String relatedId)
        Sets the related ID (name or OID) of the exception.
        Parameters:
        relatedId - the related ID (name or OID)