Class AbstractLdapReferralException
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.AbstractLdapReferralException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LdapPartialResultException, LdapReferralException
A
LdapOperationException which associates a resultCode namely the
ResultCodeEnum.REFERRAL resultCode with the exception.- Author:
- Apache Directory Project
- See Also:
-
Field Summary
Fields inherited from class LdapOperationException
resolvedDn, resultCode -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLdapReferralException(String explanation) Creates a new instance of AbstractLdapReferralException. -
Method Summary
Modifier and TypeMethodDescriptionNot yet implementedgetReferralContext(Map<?, ?> arg) Not yet implementedGet the remaining DnGet the reolved ObjectAlways returnsResultCodeEnum.REFERRALvoidRetry.voidsetRemainingDn(Dn remainingDn) Set the remaining DnvoidsetResolvedObject(Object resolvedObject) Set the reolved ObjectMethods inherited from class LdapOperationException
getResolvedDn, setResolvedDnMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbstractLdapReferralException
Creates a new instance of AbstractLdapReferralException.- Parameters:
explanation- The associated message
-
-
Method Details
-
getResultCode
Always returnsResultCodeEnum.REFERRAL- Overrides:
getResultCodein classLdapOperationException- Returns:
- The interned ResultCode
-
getReferralContext
Not yet implemented- Returns:
- The Referral Context
- Throws:
NamingException- If the operation failed
-
getReferralContext
Not yet implemented- Parameters:
arg- The arguments- Returns:
- The referral context
- Throws:
NamingException- If the operation failed
-
retryReferral
public void retryReferral()Retry. Not yet implemented -
getRemainingDn
-
setRemainingDn
Set the remaining Dn- Parameters:
remainingDn- the remainingName to set
-
getResolvedObject
-
setResolvedObject
Set the reolved Object- Parameters:
resolvedObject- the resolvedObject to set
-