Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / core / v8 / V8ThrowException.h
index bf760c0..7f55aa6 100644 (file)
@@ -33,11 +33,11 @@ namespace blink {
 class V8ThrowException {
 public:
 
-    static v8::Handle<v8::Value> createDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
+    static v8::Handle<v8::Value> createDOMException(v8::Isolate* isolate, int ec, const String& message, const v8::Handle<v8::Object>& creationContext)
     {
-        return createDOMException(ec, message, String(), creationContext, isolate);
+        return createDOMException(isolate, ec, message, String(), creationContext);
     }
-    static v8::Handle<v8::Value> createDOMException(int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext, v8::Isolate*);
+    static v8::Handle<v8::Value> createDOMException(v8::Isolate*, int, const String& sanitizedMessage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creationContext);
 
     static v8::Handle<v8::Value> throwDOMException(int ec, const String& message, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate)
     {
@@ -47,16 +47,16 @@ public:
 
     static v8::Handle<v8::Value> throwException(v8::Handle<v8::Value>, v8::Isolate*);
 
-    static v8::Handle<v8::Value> createGeneralError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> throwGeneralError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> createRangeError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> throwRangeError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> createSyntaxError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> throwSyntaxError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> createReferenceError(const String&, v8::Isolate*);
-    static v8::Handle<v8::Value> throwReferenceError(const String&, v8::Isolate*);
+    static v8::Handle<v8::Value> createGeneralError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> throwGeneralError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> createTypeError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> throwTypeError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> createRangeError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> throwRangeError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> createSyntaxError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> throwSyntaxError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> createReferenceError(v8::Isolate*, const String&);
+    static v8::Handle<v8::Value> throwReferenceError(v8::Isolate*, const String&);
 };
 
 } // namespace blink