@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class LDAPExtendedOperationException extends LDAPException
NO_CONTROLS, NO_REFERRALS
Constructor and Description |
---|
LDAPExtendedOperationException(ExtendedResult extendedResult)
Creates a new LDAP extended operation exception from the provided extended
result.
|
Modifier and Type | Method and Description |
---|---|
ExtendedResult |
getExtendedResult()
Retrieves the extended result that was returned by the server.
|
java.lang.String |
getResponseOID()
Retrieves the response OID from the extended result, if any.
|
ASN1OctetString |
getResponseValue()
Retrieves the response value from the extended result, if any.
|
LDAPResult |
toLDAPResult()
Creates a new
LDAPResult object from this exception. |
getDiagnosticMessage, getExceptionMessage, getMatchedDN, getReferralURLs, getResponseControl, getResponseControls, getResultCode, getResultString, hasResponseControl, hasResponseControl, toString
toString
public LDAPExtendedOperationException(ExtendedResult extendedResult)
extendedResult
- The extended result to use to create this
exception.public LDAPResult toLDAPResult()
LDAPResult
object from this exception.toLDAPResult
in class LDAPException
LDAPResult
object created from this exception.public ExtendedResult getExtendedResult()
public java.lang.String getResponseOID()
null
if the
result did not include an OID.public ASN1OctetString getResponseValue()
null
if
the result did not include a value.