ScriptExceptionType

Overview

The ScriptExceptionType enumeration defines different kinds of exceptions occurind when Business Rules Scripting API scripts are run. When a ScriptException exception information is sent back from the server client application can check kind of exception occured to properly handle the exception.

Location


Value Description
Abort Script engine attempted to execute script statement despite that script execution was paused
Fail Script execution was aborted using the fail('...'); command.
ParserError Script engine was unable to parse the the provided source code. This exception means that provided source code is invalid
RuntimeError Runtime error occured. Check the exception message to find out the exception reason
UnexpectedException Script engine crash. An exception occurred that cannot be handled properly by the script engine