org.apache.directory.shared.ldap.exception
Class LdapSchemaViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.shared.ldap.exception.LdapException
              extended by org.apache.directory.shared.ldap.exception.LdapOperationException
                  extended by org.apache.directory.shared.ldap.exception.LdapSchemaViolationException
All Implemented Interfaces:
java.io.Serializable

public class LdapSchemaViolationException
extends LdapOperationException

Makes a LdapOperationException unambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.

Version:
$Rev: 923834 $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.exception.LdapOperationException
resolvedDn, resultCode
 
Constructor Summary
LdapSchemaViolationException(ResultCodeEnum resultCode)
          Creates a new instance of LdapSchemaViolationException.
LdapSchemaViolationException(ResultCodeEnum resultCode, java.lang.String message)
          Creates a new instance of LdapSchemaViolationException.
 
Method Summary
 
Methods inherited from class org.apache.directory.shared.ldap.exception.LdapOperationException
getResolvedDn, getResultCode, setResolvedDn
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapSchemaViolationException

public LdapSchemaViolationException(ResultCodeEnum resultCode,
                                    java.lang.String message)
Creates a new instance of LdapSchemaViolationException.

Parameters:
resultCode - the ResultCodeEnum for this exception
message - The exception message

LdapSchemaViolationException

public LdapSchemaViolationException(ResultCodeEnum resultCode)
Creates a new instance of LdapSchemaViolationException.

Parameters:
resultCode - the ResultCodeEnum for this exception


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.