handleFatal(SmappStateProcessingContext, SmappStateProcessingAction) method

Helper method in state development.

Syntax

void handleFatal ( SmappStateProcessingContext context , SmappStateProcessingAction action ) throws MwizProcessingException, DBException

Parameters

Exceptions

Usage

This method will attempt to find the follow-up transition of FAIL type and set the corresponding follow-up state to the

SmappStateProcessingAction

.

If not found, it will set the processing engine to terminate, or

SmappStateProcessingAction

.terminateProcessing();