The ScriptExceptionType enumeration defines different kinds of exceptions occuring 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.
- Reference: DataAbstract4_Intf.h
- Namespace: DataAbstract
|ScriptExceptionType_Abort||Script engine attempted to execute script statement despite that script execution was paused|
|ScriptExceptionType_Fail||Script execution was aborted by calling fail('...') command in the script.|
|ScriptExceptionType_ParserError||Script engine was unable to parse the the provided source code.
Usually this exception means that java script source code is not valid.
|ScriptExceptionType_RuntimeError||Runtime error occured. Check the exception message to find out the particular exception reason|
|ScriptExceptionType_UnexpectedException||Script engine crash. An exception occurred that cannot be handled properly by the script engine|