uCosminexus Service Platform, Overview
The general fault message send functionality is used to convert a system exception that occurred in an activity to a fault message created in the common format and then send that message. This allows a fault to be sent from an activity that cannot generate a fault.
The following activities are applicable:
The following table describes the difference in operation when an exception occurs in an activity, based on different settings.
Table 4-14 Difference in operation when an exception occurs in an activity, based on different settings
Settings in the HCSC server runtime definition file | Operation when an exception occurs in an activity |
---|---|
syserr-to-fault-convert=on | Send a general fault message. |
syserr-to-fault-convert=off | A system exception occurs. |
For the validation activity, you can set the validate-fault-compatible property to change the type of fault message that is to be sent if the result of validation processing is invalid.
The following table describes the difference in operations (based on different settings) when the result of validation processing is invalid.
Table 4-15 Difference in operation (based on different settings) when the result of validation processing is invalid
Settings in the HCSC server runtime definition file | Operation when the result of validation processing is invalid |
---|---|
validate-fault-compatible=on | Send the fault message specific to the validation activity.# |
validate-fault-compatible=off | Send a general fault message.# |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.