diff options
Diffstat (limited to 'embedding/java/src/org/uscxml/tests/TestExceptions.java')
-rw-r--r-- | embedding/java/src/org/uscxml/tests/TestExceptions.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embedding/java/src/org/uscxml/tests/TestExceptions.java b/embedding/java/src/org/uscxml/tests/TestExceptions.java index 95242b8..b64d9e8 100644 --- a/embedding/java/src/org/uscxml/tests/TestExceptions.java +++ b/embedding/java/src/org/uscxml/tests/TestExceptions.java @@ -18,13 +18,13 @@ public class TestExceptions { if (false) { // datamodel not available before first step -> dies with segfault - Interpreter interpreter = Interpreter.fromXML(xml); + Interpreter interpreter = Interpreter.fromXML(xml, ""); System.out.println(interpreter.getDataModel().evalAsString("'FOO'")); } if (false) { // datamodel is available but syntactic ecmascript exception is not propagated - Interpreter interpreter = Interpreter.fromXML(xml); + Interpreter interpreter = Interpreter.fromXML(xml, ""); interpreter.step(); System.out.println(interpreter.getDataModel().evalAsString("'FOO' / qwer")); } |