Monitor Exception

Operation Name

Monitor Exception

Function Overview

Monitor and handle exceptions from target operations.

Monitor Exception Configuration

Icon Name Description
Start Monitor Exception The start of Monitor Exception.
Try Place components of which exception will be monitored between [Try] and [Catch].
Catch Place components to be used when handling an exception raised by a target operation, between [Catch] and [End Monitor Exception].
End Monitor Exception The end of Monitor Exception.

Properties

For details on use of variables, refer to “Variables”.
Basic settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name to show on the script canvas.  
Required settings
Item name Required/Optional Use of variables Description Remarks
Target Required Not available Select a component of which exception will be monitored.

When an exception occurs while processing the checked components, the processing goes on to [Catch] .
  • Components placed between [Try] and [End Monitor Exception] are displayed.
  • When no component is checked, all the components placed between [Try] and [End Monitor Exception] will be monitored.
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be reflected in the specifications.
 

Right-click Menu

Icon Item name Description Remarks
Fold/Expand Show/hide icons between [Start Monitor Exception] and [End Monitor Exception].
When folded, only [Start Monitor Exception] will be displayed.
Add Catch Add [Catch].
  • The maximum number of [Catch] icons that can be added is 98.
Move up evaluation order Move the order of the selected [Catch] upwards by one.
Move down evaluation order Move the order of the selected [Catch] downwards by one.
Duplicate Duplicate the selected [Catch].

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
component_name When an error occurs in check target component, that component name will be stored.
  • Default value is null.
component_type When an error occurs in check target component, that component type will be stored.
  • Default value is null.
message_category When an error occurs in check target component, the category of the message code corresponding to the error occurred in that component will be stored.
  • Default value is null.
message_code When an error occurs in check target component, the message code corresponding to the error occurred in that component will be stored.
  • Default value is null.
message_level When an error occurs in check target component, the severity of the message code corresponding to the error occurred in that component will be stored.
  • Default value is null.
error_type When an error occurs in check target component, the type of the error occurred in that component will be stored.
  • Default value is null.
  • The exception type will be in the below format.
    Example: “java.io.FileNotFoundException”
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_message When an error occurs in check target component, the message of the error occurred in that component will be stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions.
error_trace When an error occurs in check target component, the trace information of the error occurred in that component will be stored.
  • Default value is null.
  • The contents that will be stored may vary depending on DataSpider Servista versions and client applications.

How to Operate Monitor Exception

Create Monitor Exception

Place components to be monitored between [Try] and [End Monitor Exception].

Add Try

Select [Add Catch] from the right-click menu of [Start Monitor Exception] and add a Catch operation.
The maximum number of [Catch] icons that can be added is 98.

Change evaluation order of Catch operation

Select [Move up evaluation order] or [Move down evaluation order] from the right-click menu of [Catch] to change the evaluation order of multiple Catch operations. The number encircled on [Catch] is the evaluation order.

Specification Limits

Major Exceptions

None.

Notes