O'Reilly logo

Learning Robotic Process Automation by Alok Mani Tripathi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exception handling 

Exception handling is a way to handle exceptions for a process that the program or the procedure has failed to execute.

For handling exceptions in a program, the best practice considered is to use the Try catch activity.

The Try catch activity can be found in the Activities panel. By dragging and dropping the Try catch activity into the workspace, we can handle exceptions. For handling errors in the Try catch block, we can divide the whole process into four parts just to make it simpler:

  • Drag and drop the Try catch activity
  • Try block
  • Catch block
  • Finally block

Let's build a Try catch block to handle exceptions, in following steps:

  1. Drag and drop the Try catch activity: Create a blank project. Drag and drop the Flowchart ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required