@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. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this exception to the provided buffer.
|
getDiagnosticMessage, getExceptionMessage, getMatchedDN, getReferralURLs, getResponseControl, getResponseControls, getResultCode, getResultString, hasResponseControl, hasResponseControltoStringpublic LDAPExtendedOperationException(ExtendedResult extendedResult)
extendedResult - The extended result to use to create this
exception.public LDAPResult toLDAPResult()
LDAPResult object from this exception.toLDAPResult in class LDAPExceptionLDAPResult 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.public void toString(java.lang.StringBuilder buffer)
toString in class LDAPExceptionbuffer - The buffer to which the string representation of this
exception is to be appended.