Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Composition of a Rule : Handling Exceptions

Handling Exceptions
Exception Handlers
If you require exception handling, use the exceptions segment of a rule to intercept user-defined or system-defined exceptions. An exception handler is comprised of:
For more information on exception handling refer to Chapter 6, Exception Handling.
Behavior of Exception Handlers
There are no action sequence numbers associated with exception handlers. Every statement of an exception handler is executed when the exception is trapped.
Sample Exception Handling Statement
The following shows the exception handler ON GETFAIL. In this example, the shareable tool ENDMSG is issued if the value provided for the JOBNAME argument is not a valid name.

 
_ ------------------------------------------------------------+--------------
_ ON GETFAIL:
_ CALL ENDMSG('POSITION IS INVALID');

 
See Also
TIBCO Object Service Broker Shareable Tools about tools.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved