An exception handler catches exceptions thrown by a business process.
To create an exception handler:
See Creating a Business Process Service to create a business process.
In your business process, select the Business Process tab.
Click on the Business Process canvas to activate the Tool Palette.
If the Tool Palette does not appear either on the Fast View shortcut bar or as an open view in the perspective, open the Tool Palette.
From the Exception Processing tool palette, select the Throw Exception activity and drag and drop it onto the canvas.
Select the Throw Exception activity on the canvas.
Ether expand Properties in the Business Process Logic Page or open the Properties Panel view.
The properties for the exception handler are displayed.
Click in the Name field and change the generated name to the name that you want to use.
You can also change an activity's name directly on the canvas. Select the activity, then click its label. When the label appears in a box, type a new name.
From the Exception Processing tool palette, select the Exception Handler activity and drag and drop it onto the canvas.
The default exception handler catches all exceptions thrown.
To change the Exception Handler to catch a specific throw exception, either in Properties in the Business Process Logic Page or the Properties
Panel view, select
in the Fault field.
The Exception Selection dialog appears.
Select This handler handles a specific exception.
Select the exception.
Click OK.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com