Class LdapInvalidDnException
- 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.LdapInvalidDnException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TooComplexDnException
public class LdapInvalidDnException extends LdapOperationException
A subclass ofLdapOperationException
designed to hold an unequivocal LDAP result code.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LdapInvalidDnException(String message)
To be used by some special exceptions like LdapInvalidDnExceptionLdapInvalidDnException(String message, Throwable cause)
to be used by some special exceptions like LdapInvalidDnExceptionLdapInvalidDnException(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.
-
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
-
LdapInvalidDnException
public LdapInvalidDnException(String message)
To be used by some special exceptions like LdapInvalidDnException- Parameters:
message
- The message for this exception
-
LdapInvalidDnException
public LdapInvalidDnException(String message, Throwable cause)
to be used by some special exceptions like LdapInvalidDnException- Parameters:
message
- The exception messagecause
- 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 exceptionmessage
- The exception message
-
LdapInvalidDnException
public LdapInvalidDnException(ResultCodeEnum resultCode, String message, Throwable cause)
Creates a new instance of LdapInvalidDnException.- Parameters:
resultCode
- the ResultCodeEnum for this exceptionmessage
- The exception messagecause
- The root cause for this exception
-
LdapInvalidDnException
public LdapInvalidDnException(ResultCodeEnum resultCode)
Creates a new instance of LdapInvalidDnException.- Parameters:
resultCode
- the ResultCodeEnum for this exception
-
-