Index: Source/bindings/v8/V8Binding.cpp |
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp |
index c16f74ae3245c2764ed5ea45f4731a9eff974060..74d9479d0823c28fc0c93242e0918c198af0549a 100644 |
--- a/Source/bindings/v8/V8Binding.cpp |
+++ b/Source/bindings/v8/V8Binding.cpp |
@@ -72,6 +72,11 @@ v8::Handle<v8::Value> setDOMException(int exceptionCode, v8::Isolate* isolate) |
return V8ThrowException::throwDOMException(exceptionCode, isolate); |
} |
+v8::Handle<v8::Value> setDOMException(int exceptionCode, const char* message, v8::Isolate* isolate) |
+{ |
+ return V8ThrowException::throwDOMException(exceptionCode, message, isolate); |
+} |
+ |
v8::Handle<v8::Value> throwError(V8ErrorType errorType, const char* message, v8::Isolate* isolate) |
{ |
return V8ThrowException::throwError(errorType, message, isolate); |