org.ldaptive.handler
Interface OperationExceptionHandler<Q extends Request,S>

Type Parameters:
Q - type of ldap request
S - type of ldap response
All Superinterfaces:
Handler<Q,Response<S>>
All Known Implementing Classes:
AbstractOperation.ReopenOperationExceptionHandler, AbstractRetryOperationExceptionHandler, NoOpOperationExceptionHandler

public interface OperationExceptionHandler<Q extends Request,S>
extends Handler<Q,Response<S>>

Provides handling of operation exceptions.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Method Summary
 HandlerResult<Response<S>> handle(Connection conn, Q request, Response<S> response)
          Handle the supplied result.
 

Method Detail

handle

HandlerResult<Response<S>> handle(Connection conn,
                                  Q request,
                                  Response<S> response)
                                  throws LdapException
Handle the supplied result.

Specified by:
handle in interface Handler<Q extends Request,Response<S>>
Parameters:
conn - connection the operation was executed on
request - executed by the operation
response - produced from the operation
Returns:
handler result
Throws:
LdapException - if handling fails


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.