Index: Source/bindings/v8/V8Binding.cpp |
diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp |
index 69b98701ede82eb16633049c4ae1968263aa3573..59dde88da41651533584b9a154472d3cc4cdf03d 100644 |
--- a/Source/bindings/v8/V8Binding.cpp |
+++ b/Source/bindings/v8/V8Binding.cpp |
@@ -71,6 +71,11 @@ v8::Handle<v8::Value> setDOMException(int exceptionCode, v8::Isolate* isolate) |
return V8ThrowException::throwDOMException(exceptionCode, isolate); |
} |
+v8::Handle<v8::Value> setDOMException(int exceptionCode, const String& message, v8::Isolate* isolate) |
+{ |
+ return V8ThrowException::throwDOMException(exceptionCode, message, isolate); |
+} |
+ |
v8::Handle<v8::Value> throwError(V8ErrorType errorType, const String& message, v8::Isolate* isolate) |
{ |
return V8ThrowException::throwError(errorType, message, isolate); |