ExceptionHandler Interface
public interface ExceptionHandler
Defines the interface for handling the exceptions encountered in communicating with service fabric services.
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. |
Method Details
handleException
public ExceptionHandlingResult handleException(ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings)
Method that examines the exception and determines how that exception can be handled.
Parameters:
exceptionInformation
- Information about the exception.
retrySettings
- The operation retry preferences.
Returns:
true if the exception is handled, false otherwise
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java