dweiss commented on issue #13116:
URL: https://github.com/apache/lucene/issues/13116#issuecomment-1970525526

   A much better solution would be to try to track down why 
UncheckedIOException is thrown in the stack - something is likely missing a 
proper IOException signature (or something higher up the stack should catch 
uncheckedIOE and rethrow the original cause?).
   
   Those unchecked exceptions are hell. If they can indeed happen under certain 
circumstances, it would be better to handle these cases as plan (predictable) 
IOE. At least that's my opinion - the discussion concerning checked/ unchecked 
exceptions is as old as Java (my opinion being it was a design mistake to 
introduce checked exceptions; it's particularly brutal when you're trying to 
use lambdas with I/O).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to