Index: Source/bindings/v8/V8ThrowException.h |
diff --git a/Source/bindings/v8/V8ThrowException.h b/Source/bindings/v8/V8ThrowException.h |
index 6f3ed2d58ea54158438c9e1ea64badb37c4f1d4e..65cb26545cebb6a000370ea0feaacb7a562a10ea 100644 |
--- a/Source/bindings/v8/V8ThrowException.h |
+++ b/Source/bindings/v8/V8ThrowException.h |
@@ -45,13 +45,21 @@ public: |
{ |
return createDOMException(ec, String(), isolate); |
} |
- static v8::Handle<v8::Value> createDOMException(int, const String&, v8::Isolate*); |
+ static v8::Handle<v8::Value> createDOMException(int ec, const String& message, v8::Isolate* isolate) |
+ { |
+ return createDOMException(ec, message, String(), isolate); |
+ } |
+ static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, v8::Isolate*); |
static v8::Handle<v8::Value> throwDOMException(int ec, v8::Isolate* isolate) |
{ |
return throwDOMException(ec, String(), isolate); |
} |
- static v8::Handle<v8::Value> throwDOMException(int, const String&, v8::Isolate*); |
+ static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, v8::Isolate* isolate) |
+ { |
+ return throwDOMException(ec, message, String(), isolate); |
+ } |
+ static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, v8::Isolate*); |
static v8::Handle<v8::Value> createError(V8ErrorType, const String&, v8::Isolate*); |
static v8::Handle<v8::Value> throwError(V8ErrorType, const String&, v8::Isolate*); |