Copyright © TIBCO Software Inc. All Rights Reserved |
The TIBCO BusinessEvents rule Language includes try/catch/finally blocks and has an Exception type. The try/catch/finally blocks behave like their same-name Java counterparts.
Advisory Events You can also use the special AdvisoryEvent event type to be notified of exceptions that originate in user code but that are not caught with a catch block. To use the AdvisoryEvent, click the plus sign used to add a resource to the declaration. AdvisoryEvent is always available in the list of resources. See Chapter 10, Advisory Events.
//If readStatus() throws an exception,
//MyScorecard.status will be set to "default status"
//If readStatus throws an exception,
//MyScorecard.status will be set to "default status"
//Otherwise MyScorecard.status will be set to the
//return value of readStatus()
//If readStatus throws an exception,
//MyScorecard.status will be set to "default status"
//Otherwise MyScorecard.status will be set to the
//return value of readStatus()
Copyright © TIBCO Software Inc. All Rights Reserved |