OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedM
essage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creation
Context, v8::Isolate*); | 46 static v8::Handle<v8::Value> throwDOMException(int, const String& sanitizedM
essage, const String& unsanitizedMessage, const v8::Handle<v8::Object>& creation
Context, v8::Isolate*); |
47 | 47 |
48 static v8::Handle<v8::Value> throwException(v8::Handle<v8::Value>, v8::Isola
te*); | 48 static v8::Handle<v8::Value> throwException(v8::Handle<v8::Value>, v8::Isola
te*); |
49 | 49 |
50 static v8::Handle<v8::Value> createGeneralError(const String&, v8::Isolate*)
; | 50 static v8::Handle<v8::Value> createGeneralError(const String&, v8::Isolate*)
; |
51 static v8::Handle<v8::Value> throwGeneralError(const String&, v8::Isolate*); | 51 static v8::Handle<v8::Value> throwGeneralError(const String&, v8::Isolate*); |
52 static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*); | 52 static v8::Handle<v8::Value> createTypeError(const String&, v8::Isolate*); |
53 static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); | 53 static v8::Handle<v8::Value> throwTypeError(const String&, v8::Isolate*); |
54 static v8::Handle<v8::Value> createRangeError(const String&, v8::Isolate*); | 54 static v8::Handle<v8::Value> createRangeError(const String&, v8::Isolate*); |
55 static v8::Handle<v8::Value> throwRangeError(const String&, v8::Isolate*); | 55 static v8::Handle<v8::Value> throwRangeError(const String&, v8::Isolate*); |
56 static v8::Handle<v8::Value> createSyntaxError(const String&, v8::Isolate*); | 56 static v8::Handle<v8::Value> createSyntaxError(v8::Isolate*, const String&); |
57 static v8::Handle<v8::Value> throwSyntaxError(const String&, v8::Isolate*); | 57 static v8::Handle<v8::Value> throwSyntaxError(v8::Isolate*, const String&); |
58 static v8::Handle<v8::Value> createReferenceError(const String&, v8::Isolate
*); | 58 static v8::Handle<v8::Value> createReferenceError(v8::Isolate*, const String
&); |
59 static v8::Handle<v8::Value> throwReferenceError(const String&, v8::Isolate*
); | 59 static v8::Handle<v8::Value> throwReferenceError(v8::Isolate*, const String&
); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace blink | 62 } // namespace blink |
63 | 63 |
64 #endif // V8ThrowException_h | 64 #endif // V8ThrowException_h |
OLD | NEW |