This is because the code is throwing a new IOException, but there is no catch block defined for IOException. The catch blocks present are for BusinessRuleException, ArgumentException, and InvalidOperationException. Therefore, the code will not be able to handle the thrown exception. References: https://docs.uipath.com/activities/docs/try-catch
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit