Class 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:
    Serialized Form
    • Constructor Detail

      • LdapRequestUnsuccessfulException

        public LdapRequestUnsuccessfulException​(ResultResponse response)
        Creates a new LdapRequestUnsuccessfulException instance
        Parameters:
        response - The associated LDAP Response
    • Method Detail

      • getResponse

        public ResultResponse getResponse()
        Returns:
        the associate LDAP Response