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

public class LdapRequestUnsuccessfulException extends RuntimeException
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 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