org.apache.directory.api.ldap.model.exception
Class LdapInvalidDnException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.api.ldap.model.exception.LdapException
              extended by org.apache.directory.api.ldap.model.exception.LdapOperationException
                  extended by org.apache.directory.api.ldap.model.exception.LdapInvalidDnException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TooComplexException

public class LdapInvalidDnException
extends LdapOperationException

A subclass of LdapOperationException designed to hold an unequivocal LDAP result code.

Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.api.ldap.model.exception.LdapOperationException
resolvedDn, resultCode
 
Constructor Summary
LdapInvalidDnException(ResultCodeEnum resultCode)
          Creates a new instance of LdapInvalidDnException.
LdapInvalidDnException(ResultCodeEnum resultCode, String message)
          Creates a new instance of LdapInvalidDnException.
LdapInvalidDnException(ResultCodeEnum resultCode, String message, Throwable cause)
          Creates a new instance of LdapInvalidDnException.
LdapInvalidDnException(String message)
          to be used by some special exceptions like LdapInvalidDnException
LdapInvalidDnException(String message, Throwable cause)
          to be used by some special exceptions like LdapInvalidDnException
 
Method Summary
 
Methods inherited from class org.apache.directory.api.ldap.model.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

LdapInvalidDnException

public LdapInvalidDnException(String message)
to be used by some special exceptions like LdapInvalidDnException


LdapInvalidDnException

public LdapInvalidDnException(String message,
                              Throwable cause)
to be used by some special exceptions like LdapInvalidDnException

Parameters:
message - The exception message
cause - The root cause for this exception

LdapInvalidDnException

public LdapInvalidDnException(ResultCodeEnum resultCode,
                              String message)
Creates a new instance of LdapInvalidDnException.

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

LdapInvalidDnException

public LdapInvalidDnException(ResultCodeEnum resultCode,
                              String message,
                              Throwable cause)
Creates a new instance of LdapInvalidDnException.

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

LdapInvalidDnException

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

Parameters:
resultCode - the ResultCodeEnum for this exception


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.