Which of the following built-in Integration Server services is primarily used for exception handling?

  1. pub.flow:catchException

  2. pub.flow:catchError

  3. pub.schema:validatePipeline

  4. pub.flow:getLastError


Correct Option: D

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) pub.flow:catchException - This option is incorrect because the pub.flow:catchException service is primarily used to catch and handle exceptions thrown by other services or steps in the flow.

Option B) pub.flow:catchError - This option is incorrect because the pub.flow:catchError service is primarily used to catch and handle errors thrown by other services or steps in the flow.

Option C) pub.schema:validatePipeline - This option is incorrect because the pub.schema:validatePipeline service is primarily used to validate the structure and content of a pipeline against a defined schema.

Option D) pub.flow:getLastError - This option is correct because the pub.flow:getLastError service is primarily used to retrieve the details of the last error that occurred during the flow execution. It is commonly used for exception handling and error reporting.

The correct answer is D. This option is correct because the pub.flow:getLastError service is primarily used for exception handling.

Find more quizzes: