diff options
Diffstat (limited to 'src/qml/jsruntime/qv4context.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context.cpp b/src/qml/jsruntime/qv4context.cpp index 78bf662c26..4bba0bfbd1 100644 --- a/src/qml/jsruntime/qv4context.cpp +++ b/src/qml/jsruntime/qv4context.cpp @@ -648,7 +648,7 @@ void ExecutionContext::throwUnimplemented(const QString &message) ReturnedValue ExecutionContext::catchException(StackTrace *trace) { if (!engine->hasException) - throw; + Exception::rethrow(); while (engine->current != this) engine->popContext(); if (trace) @@ -666,7 +666,7 @@ void ExecutionContext::rethrowException() while (engine->current != this) engine->popContext(); } - throw; + Exception::rethrow(); } void ExecutionContext::throwReferenceError(const ValueRef value) |