User-Defined Exception Messages
Last updated
Last updated
A user-defined exception message has the following format:
Exception:
(incl. colon) is a fixed token to indicate that this is a user-defined exception message.
ExceptionType
specifies the type of the exception and the format of the following Json.
ExceptionJson
contains the structured exception.
Please notice the single quotes are mandatory, especially when replacement variables are used.
All exception messages should inherit from this base-class, containing a rootCause
and userMessage
field: (see ExceptionBase)
The data validation Business Rule failed and there is no way to continue code execution: throw a controlled Exception.