![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
You use the SIGNAL statement from within the body of your rule or within the exception handler segment to issue a user-defined exception. This statement is described in SIGNAL Statement.You must explicitly handle user-defined exceptions. System exceptions are signaled for you. You can handle system exceptions explicitly or TIBCO Object Service Broker can handle them on your behalf.
• UNTIL, UNTIL … DISPLAY, or FORALL statements from within the body of your rule to handle one or more exceptions
• ON statements in the exception handler segment of your rule to handle individual exceptionsThese statements are known as exception handlers. Except for FORALL … UNTIL, which is described as part of the FORALL Statement, they are described in Chapter 7, The Exception Statements.You can handle up to 32 exceptions in a rule, using the ON statements, and UNTIL statements, including UNTIL … DISPLAY and FORALL … UNTIL.The following sample rule signals and handles the user-defined exception DATE_INVALID and explicitly handles the system exception GETFAIL.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |