Change DimensionSetExceededException to a checked exception#122
Change DimensionSetExceededException to a checked exception#122markkuhn merged 6 commits intoawslabs:masterfrom
Conversation
gordonpn
left a comment
There was a problem hiding this comment.
Are there tests to make sure that the checked exception are thrown when we expect them to be thrown?
Those tests can be found in |
|
Returning checked exception made consumer hard to upgrade. I don't think it's a pattern to use checked exception in AWS SDK.
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/handling-exceptions.html |
Issue #, if available: #120
Description of changes:
Change
DimensionSetExceededExceptionto a checked exception.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.