Show TOC Anfang des Inhaltsbereichs

Komponentendokumentation Configuring Exception Handling  Dokument im Navigationsbaum lokalisieren

Purpose

Exceptions are designed to handle unexpected situations that arise during runtime and disrupt the normal flow of a process. Exceptions deal with the unexpected situation by executing an additional action, block or process, called an exception handler.

Some callable objects can define exceptions that are propagated to the block level and need to be processed. For that purpose, at block level, you can define an exception handler, as well as an exception handling strategy.

This tutorial demonstrates how exception handling can be modeled within a Guided Procedure (GP).

Implementation Considerations

The example that is used in this tutorial represents a process that consists of three steps:

...

       1.      Entering a User ID in a Data Input Form

       2.      Searching for this User ID in the UME using an existing background action.

If an exception is raised, the User ID is entered again in the Data Input Form.

       3.      Displaying the user details in a Data Display Form

Features

To implement this tutorial, you go through the following steps:

...

       1.      Define a process flow with a background step that can return an error message.

       2.      Handle the error message with the exception handling mechanism.

       3.      Retrieve the user detail data, belonging to a User ID, using the background step.

       4.      Activate the exception handling mechanism if the User ID is not available, so that the user can re-enter a correct User ID to continue.

Constraints

To be able to complete the tutorial, you need the appropriate authorizations for working with the gallery and creating components in GP design time. For more information about GP roles and permissions, see Security Aspects.

In addition, you must have implemented the callable object for background execution: User Details, as described in Exposing a Java Class as a Callable Object.

 

Diese Grafik wird im zugehörigen Text erklärt You can start this tutorial by Creating a Data Input Form.

 

Ende des Inhaltsbereichs