Class LdapSchemaViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.directory.api.ldap.model.exception.LdapException
-
- org.apache.directory.api.ldap.model.exception.LdapOperationException
-
- org.apache.directory.api.ldap.model.exception.LdapSchemaViolationException
-
- All Implemented Interfaces:
Serializable
public class LdapSchemaViolationException extends LdapOperationException
Makes aLdapOperationException
unambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LdapSchemaViolationException(ResultCodeEnum resultCode)
Creates a new instance of LdapSchemaViolationException.LdapSchemaViolationException(ResultCodeEnum resultCode, String message)
Creates a new instance of LdapSchemaViolationException.LdapSchemaViolationException(ResultCodeEnum resultCode, String message, Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.directory.api.ldap.model.exception.LdapOperationException
getResolvedDn, getResultCode, setResolvedDn
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LdapSchemaViolationException
public LdapSchemaViolationException(ResultCodeEnum resultCode, String message)
Creates a new instance of LdapSchemaViolationException.- Parameters:
resultCode
- the ResultCodeEnum for this exceptionmessage
- The exception message
-
LdapSchemaViolationException
public LdapSchemaViolationException(ResultCodeEnum resultCode, String message, Throwable cause)
- Parameters:
resultCode
- the ResultCodeEnum for this exceptionmessage
- The exception messagecause
- The root cause for this exception
-
LdapSchemaViolationException
public LdapSchemaViolationException(ResultCodeEnum resultCode)
Creates a new instance of LdapSchemaViolationException.- Parameters:
resultCode
- the ResultCodeEnum for this exception
-
-