aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.16k stars 840 forks source link

Throw converter not found instead of generic IndexOutOfBound exception #5329

Closed ar0d10n closed 2 weeks ago

ar0d10n commented 3 months ago

Throw converter not found instead of generic IndexOutOfBound exception

Motivation and Context

3845

Modifications

Added parameter validation and throwing appropriate exception instead of generic IndexOutOfBound for default attribute converter and enhanced document

Testing

Added unit tests

Screenshots (if appropriate)

Types of changes

Checklist

License

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
91.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

ar0d10n commented 2 weeks ago

closed in favour of #5538