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


Chapter 10 Palette Reference : Catch

Catch
Activity
The Catch activity receives control of execution when an exception occurs. You can select a specific exception type to catch or you can specify that this activity should catch all unhandled exceptions. You can have more than one Catch activity in each exception scope, but each Catch activity must have a unique exception type.
The Catch activity allows you to transition to activities you wish to perform to handle the exception. Transitions are not permitted between Catch error-handling routines within a scope, and you can not transition back to the main execution path from the Catch error-handling routine.
If you wish to propagate the caught exception to the next highest scope, use the Rethrow activity.
See Chapter 6, Exception Handling for more information about error handling and using the Catch activity.
Configuration
The Configuration tab has the following fields.
Checking this box indicates you wish processing to resume with this activity when any exception is encountered that is not already handled by another Catch activity.
Specifies the exception type to catch. The list of available exceptions that can be raised in the current scope is automatically placed in the drop-down list in this field. This field is not available when the Catch All field is checked.
Output
The output for the activity is the following.
<exceptionName>
Contains the schema for the thrown exception. The contents of this element vary depending on the exception that is encountered.
 

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