Helper method in state development.
protected SmappState continueFail (String logMsg) throws DBException
- logMsg the message to be logged
ReturnsSmappState of the FAIL follow-up transition
- DBException any database exceptions that warrant terminating the application
This method will attempt to find the follow-up transition of FAIL type and return the corresponding follow-up state.
If not found, it will set the processing engine to terminate, or SmappStateProcessingAction.terminateProcessing();