Exception Handling

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

LET US LEARN ABOUT

EXCEPTION
HANDLING.

www.benchmarksixsigma.com
MEANING

Exception Handling (in the domain


of computer programming) deals
with the occurrence of
irregularities or deviations from
the expected behaviour during
the execution of the program.

www.benchmarksixsigma.com
UI Path identifies four types of
Global Exception Handlers -
Continue, Retry, Ignore, and Abort.
These determine the program's
behaviour when encountering an
execution error.

www.benchmarksixsigma.com
Continue - The exception is re-
thrown.

Ignore - The exception is ignored,


and the execution continues from
the next activity.

Retry - The activity which threw


the exception is retried.

Abort - The execution stops after


running the current Global
Exception Handler.

www.benchmarksixsigma.com
When an exception is thrown, it
should offer paths to take for
further processing. This makes it
much easier to handle exceptions
meaningfully even when you don't
know the exact context of their
creation. This forces the
programmers to code exception
handling very close to the
decision-making hard-coded into
the operation.

www.benchmarksixsigma.com
The most common errors in RPA
can be classified into business or
application exceptions. When a
software BOT is unable to process
a transaction with programmed
commands, In other words, the
business exception is written into
the automation’s exception code.

www.benchmarksixsigma.com
Example

A robot processing invoices in a


manufacturing firm may be
programmed to process invoices
up to $5,000. When it comes
across an invoice valued at
$8,000, the bot identifies it & is
unable to process it, and throws a
business exception alert.

www.benchmarksixsigma.com
The robot records the exception
and moves on to the next
transaction. An application
exception happens when a robot
encounters a technical issue, such
as a server/ system crash, or a
change to the technology
environment that requires
interaction with a new application
or website.

www.benchmarksixsigma.com
INQUIRE NOW!

Learn about Exception Handling in


our Green Belt, Black Belt, and
Master Black Belt programs.

+91 98113 70943

www.benchmarksixsigma.com

https://tinyurl.com/BSSinquire

You might also like