Skip to content

Conversation

@markjschreiber
Copy link
Contributor

Issue #, if available:
#189
Description of changes:

SDK exceptions in the S3DirectoryStream are now explicitly perpetuated as some type of IOException to enable them to be more easily caught and handled. Added tests where service mocks generate various SdkExceptions to ensure these are perpetuated.

Some general cleanup and fixing imports to match new stylecheck added for v2

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@markjschreiber markjschreiber merged commit 9797b89 into main Mar 8, 2024
@markjschreiber
Copy link
Contributor Author

implements #189

@markjschreiber markjschreiber deleted the markjschreiber/better-exception-handling branch March 8, 2024 22:45
stefanofornari pushed a commit to stefanofornari/aws-java-nio-spi-for-s3 that referenced this pull request Mar 16, 2024
…abs#404)

* fix: Improve error handling and visibility in S3DirectoryStream
stefanofornari pushed a commit to stefanofornari/aws-java-nio-spi-for-s3 that referenced this pull request May 20, 2024
…abs#404)

* fix: Improve error handling and visibility in S3DirectoryStream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant