# tAssertCatcher Standard properties

These properties are used to configure tAssertCatcher running in the Standard Job framework.

The Standard tAssertCatcher component belongs to the Logs & Errors family.

The component in this framework is available in all Talend products.

## Basic settings

| Schema and Edit<br>schema | A schema is a row description, it defines the fields to be<br>processed and passed on to the next component. In this particular<br>case, the schema is read-only, as this component gathers standard<br>log information including: |
| --- | --- |
|  | Moment: Processing time and<br>date. |
|  | Pid: Process ID. |
|  | Project: Project which the job<br>belongs to. |
|  | Job: Job name. |
|  | Language: Language used by the<br>Job (Java) |
|  | Origin: Status evaluation origin.<br>The origin may be different tAssert<br>components. |
|  | Status: Evaluation fetched<br>from tAssert. They may<br>be<br><br>- Ok: if the assertive statement<br>of tAssert is evaluated as true at<br>runtime.<br><br>- Failed: if the assertive<br>statement of tAssert is evaluated<br>as false or an execution error occurs at runtime. The tested Job's<br>result does not match the expectation or an execution error occured<br>at runtime. |
|  | Substatus: Detailed explanation<br>for failed execution. The explanation can be:<br><br>- Test logically failed: the<br>investigated Job does not produce the expected result.<br><br>- Execution error: an execution<br>error occurred at runtime. |
|  | Description: Descriptive message<br>typed in Basic settings of<br>tAssert (when Catch tAssert is selected) and/or the<br>message of the exception captured (when Catch<br>Java Exception is selected). |
|  | Exception: The Exception object<br>thrown by the Job, namely the original exception.<br><br>Available when Get original<br>exception is selected. |
| Catch Java Exception | This check box allows to capture Java exception errors and show<br>the message in the Description<br>column (Get original exception not<br>selected) or in the Exception<br>column (Get original exception<br>selected) column, once checked. |
| Get original exception | This check box allows to show the original exception object in the<br>Exception column, once<br>checked.<br><br>Available when Catch Java<br>Exception is selected. |
| Catch tAssert | This check box allows to capture the evaluations of tAssert. |

## Global Variables

| Global Variables | ERROR\_MESSAGE: the error message generated by the component when an<br>error occurs. This is an After variable and it returns a string. This variable functions<br>only if the Die on error check box<br>is cleared, if the component has this check<br>box.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a<br>variable, press Ctrl + Space to<br>access the variable list and choose the variable to use from it.<br><br>For further information about variables, see *Talend Studio*<br>*User Guide*. |
| --- | --- |

## Usage

| **Usage rule** | This component is the start component of a secondary Job which<br>fetches the execution status information from several sources. It<br>generates a data flow to transfer the information to the component<br>which proceeds. |
| --- | --- |
| Limitation | This component must be used with tAssert together. |