ServiceRemotingExceptionHandler Class
- java.
lang. Object - ExceptionHandler
- microsoft.
servicefabric. services. remoting. client. ServiceRemotingExceptionHandler
- microsoft.
public class ServiceRemotingExceptionHandler implements ExceptionHandler
This class provide handling of exceptions encountered in communicating with a service fabric service over remoted interfaces. ServiceRemotingExceptionHandler
Constructor Summary
Constructor | Description |
---|---|
ServiceRemotingExceptionHandler(String traceId) |
Constructs a ServiceRemotingExceptionHandler with a specified trace id. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Exception |
handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)
Method that examines the exception and determines how that exception can be handled. |
Constructor Details
ServiceRemotingExceptionHandler
public ServiceRemotingExceptionHandler(String traceId)
Constructs a ServiceRemotingExceptionHandler with a specified trace id.
Parameters:
Method Details
handleException
public ExceptionHandlingResult handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)
Method that examines the exception and determines how that exception can be handled.
Overrides:
ServiceRemotingExceptionHandler.handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)Parameters:
Returns:
Applies to
Azure SDK for Java