Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever
by colanderman on Friday July 14, 2023 @10:11AM
(#36724279)
Then you should unwind your state correctly and rethrow as a checked exception stating as much. If there levels up the stack I see a random unexpected "IO Exception" from your library I have no idea whether you are still in a valid state to retry. If I instead see a "Foolib Request Aborted: reason IO Exception" I know you've written logic to handle that case, and I know that retrying is appropriate.
[ Parent
| on HN ]
There are no comments on this comment yet.