Class LdapRequestUnsuccessfulException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.directory.ldap.client.template.exception.LdapRequestUnsuccessfulException
- All Implemented Interfaces:
Serializable
An RuntimeException wrapper class that allows the user to choose to have
unsuccessful responses thrown as exceptions rather than checking the
response itself for process flow.
- Author:
- Apache Directory Project
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLdapRequestUnsuccessfulException(org.apache.directory.api.ldap.model.message.ResultResponse response) Creates a new LdapRequestUnsuccessfulException instance -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.directory.api.ldap.model.message.ResultResponseGet the associate LDAP ResponseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LdapRequestUnsuccessfulException
public LdapRequestUnsuccessfulException(org.apache.directory.api.ldap.model.message.ResultResponse response) Creates a new LdapRequestUnsuccessfulException instance- Parameters:
response- The associated LDAP Response
-
-
Method Details
-
getResponse
public org.apache.directory.api.ldap.model.message.ResultResponse getResponse()Get the associate LDAP Response- Returns:
- the associate LDAP Response
-