Assertion Exception

Operation name

Assertion Exception

Function overview

Throws an assertion exception.

Note

Executed only when the log level is FINFO or lower. Not executed when the log level is INFO or higher. When you don't want it to be executed in operation phase, set the log level to INFO or higher.

Properties

= Remarks =

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 a name that is used on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Message

Optional

Available

Enter an user-defined assertion exception message to output during execution.

When omitted, “Assertion exception.” will be output.

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as follows.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Specification limits

None.

Exception messages

Exception name

Cause

Solution

AssertionException

Assertion failed.

Fix the script so that this connector isn't executed.