Excerpt | ||
---|---|---|
| ||
stop(message) Will stop the analysis for the Stream Set, producing a warning message in the log. |
Function: stop()
Will cause the analysis for the Stream Set to stop, producing a warning message in the log trace.
...
Argument | Type | Description |
---|---|---|
message | String | Message to be output to the log trace. Can be an attribute expression so long as it evaluates to a string. |
Examples
ifNull(in.rate,stop("Missing rate value"))
In the above example, if the rate value is not found then there is no point continuing so a warning message is added to the log file and analysis for this stream set stops. No records are written to the database for this stream set.