Unfortunately, exceptions are not supported in ILOGScript. In case you want to raise an exception to abort execution, you can do something like this:
if ( errorCondition )
non_existent_object.non_existent_method();
This will stop with an unknown object or property error.
#DecisionOptimization#OPLusingCPOptimizer