IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

RESIGNAL statement

The RESIGNAL statement rethrows the current exception, if one exists.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-RESIGNAL----------------------------------------------------><

You can use RESIGNAL only in error handlers.

Typically, RESIGNAL is used when an error handler catches an exception that it cannot handle. The handler uses RESIGNAL to rethrow the original exception so that a handler in higher-level scope has the opportunity to handle it.

Because the handler throws the original exception, rather than a new (and therefore different) one:
  1. The higher-level handler is not affected by the presence of the lower-level handler.
  2. If no higher-level handler is present, you get a full error report in the event log.

Example

RESIGNAL;

ak05125_.htm | Last updated Friday, 21 July 2017