exceptionfactory commented on PR #8691:
URL: https://github.com/apache/nifi/pull/8691#issuecomment-2152980608

   > @exceptionfactory Can you please confirm whether the possible IOException 
which can be thrown on line 184 in `SplitPCAP` is per the developer guide a 
type thrown from Processor code or thrown from the Content Repository? I 
thought it was the former but now that I think about it, it seems like the 
latter. Either way, in this case should an IOException be caught or allowed to 
bubble up?
   
   An `IOException` thrown from that `OutputStream.write()` call would 
represent an issue with the Content Repository, as described the Developer 
Guide. From that perspective, it looks like the `IOException` does not need to 
be caught, and should be allowed to bubble so that the framework could handle 
it.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to