azure-sdk-for-java: Exception hierarchy
Python has defined an exception hierarchy in the following form:
AzureError
|- AzureLibraryError
|- AzureLibraryRequestError
|- AzureLibraryResponseError
|- ServiceRequestError
|- ConnectionTimeoutError
|- ServiceHttpRequestError
|- ClientRequestError
|- ResourceExistsError
|- ClientAuthenticationError
|- ResourceModifiedError
|- ServerError
|- TooManyRedirectsError
|- TooManyRetriesError
We need to develop a similar exception hierarchy that is idiomatic for Java developers.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (18 by maintainers)
Todo:
com.azure.common.exception
RestException
class intoServiceRequestException
, and relocate it into this package.