| Package | com.adobe.idp.dsc.clientsdk |
| Interface | public interface ServiceClientFactory.ThrowHandler |
| Method | Defined by | ||
|---|---|---|---|
|
boolean handleThrowable(Throwable t, ServiceClient sc, ServiceClientFactory scf, MessageDispatcher md, InvocationRequest ir, int numTries)
The method to be invoked when an exception occurs during the processing of a ServiceInvocationRequest
| ServiceClientFactory.ThrowHandler | ||
| handleThrowable | () |
public boolean handleThrowable(Throwable t, ServiceClient sc, ServiceClientFactory scf, MessageDispatcher md, InvocationRequest ir, int numTries)The method to be invoked when an exception occurs during the processing of a ServiceInvocationRequest
Parameters
t — the Throwable that has occurred |
|
sc — the ServiceClient whose invocation caused the exception |
|
scf — the ServiceClientFactory instance to which the ServiceClient is bound |
|
md — the MessageDispatcher used to deliver the invocation/response |
|
ir — the InvocationRequest that caused the exception |
|
numTries — the number of times the invocation has been attempted |
| a boolean that indicates if the request should be resubmitted. A value of true will retry the invocation, otherwise the exception is thrown to the caller as normal. |
DSCException — the originating DSCException to be delivered to client |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/idp/dsc/clientsdk/ServiceClientFactory.ThrowHandler.html