Courseiva

UiPath-ADPv1 Generic Automation Development Practice Question

A developer is building a UiPath automation that uses a Try Catch activity. Inside the Try block, a business rule exception is thrown by a Throw activity when an invoice amount exceeds a configured limit. The developer wants the Catch block to handle this specific business rule exception differently from system exceptions. Which Catch block configuration should be used?

⚠ Common exam trap

The trap here is assuming that checking the exception message within a generic System.Exception Catch block is sufficient to differentiate business rule exceptions, which is unreliable and not best practice.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Add a Catch block with the exception type set to BusinessRuleException before any System.Exception Catch block.

The correct approach is to use a Catch block typed to BusinessRuleException, placed before any System.Exception Catch block. UiPath evaluates Catch blocks sequentially, so the specific exception type must come first to be caught appropriately. This allows distinct handling for business rule violations versus system errors, which is essential for robust automation design. Other options either use overly broad exception types or invalid properties.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Add a Catch block with the exception type set to System.Exception and check the exception message for the business rule text.

    Why it's wrong here

    Using System.Exception catches all exceptions, including system errors like selector failures or timeouts. Checking the message string to distinguish business rule exceptions is fragile and violates UiPath best practices. The Catch block should be typed to BusinessRuleException to reliably separate business rule violations from system exceptions, ensuring appropriate handling for each category without relying on message content.

  • ✗

    Add a Catch block with the exception type set to System.Exception and set the 'Rethrow' property to True.

    Why it's wrong here

    Setting Rethrow to True in a Catch block causes the exception to be rethrown after the Catch block executes. This does not provide specific handling for business rule exceptions; it only propagates the exception further. The developer wants different handling, not rethrowing. Additionally, using System.Exception does not distinguish business rule exceptions from system exceptions, so this configuration fails the requirement.

  • ✗

    Add a Catch block with the exception type set to BusinessRuleException and set the 'ContinueOnError' property to True.

    Why it's wrong here

    Catch blocks in UiPath do not have a 'ContinueOnError' property. The ContinueOnError property is available on certain activities, not on Catch blocks. While using BusinessRuleException as the exception type is correct, the mention of ContinueOnError is invalid and would not compile. The developer should simply use the correct exception type without relying on non-existent properties.

  • ✓

    Add a Catch block with the exception type set to BusinessRuleException before any System.Exception Catch block.

    Why this is correct

    In UiPath, Catch blocks are evaluated in order. Placing a BusinessRuleException Catch before a System.Exception Catch ensures business rule exceptions are caught by the specific handler first. This allows the developer to handle business rule violations separately, such as logging and continuing, while system exceptions fall through to the general handler. This is the recommended approach for distinguishing exception types.

About these practice questions

Courseiva writes every UiPath-ADPv1 question from scratch — 276 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official UiPath exam blueprint

This UiPath-ADPv1 practice question is part of Courseiva's free UiPath certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the UiPath-ADPv1 exam.