Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: include/v8.h

Issue 655243002: Introduce v8::Exception::GetStackTrace API method. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: added test Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 4146 matching lines...) Expand 10 before | Expand all | Expand 10 after
4157 * Create new error objects by calling the corresponding error object 4157 * Create new error objects by calling the corresponding error object
4158 * constructor with the message. 4158 * constructor with the message.
4159 */ 4159 */
4160 class V8_EXPORT Exception { 4160 class V8_EXPORT Exception {
4161 public: 4161 public:
4162 static Local<Value> RangeError(Handle<String> message); 4162 static Local<Value> RangeError(Handle<String> message);
4163 static Local<Value> ReferenceError(Handle<String> message); 4163 static Local<Value> ReferenceError(Handle<String> message);
4164 static Local<Value> SyntaxError(Handle<String> message); 4164 static Local<Value> SyntaxError(Handle<String> message);
4165 static Local<Value> TypeError(Handle<String> message); 4165 static Local<Value> TypeError(Handle<String> message);
4166 static Local<Value> Error(Handle<String> message); 4166 static Local<Value> Error(Handle<String> message);
4167
4168 static Local<StackTrace> GetStackTrace(Handle<Value> exception);
4167 }; 4169 };
4168 4170
4169 4171
4170 // --- Counters Callbacks --- 4172 // --- Counters Callbacks ---
4171 4173
4172 typedef int* (*CounterLookupCallback)(const char* name); 4174 typedef int* (*CounterLookupCallback)(const char* name);
4173 4175
4174 typedef void* (*CreateHistogramCallback)(const char* name, 4176 typedef void* (*CreateHistogramCallback)(const char* name,
4175 int min, 4177 int min,
4176 int max, 4178 int max,
(...skipping 2870 matching lines...) Expand 10 before | Expand all | Expand 10 after
7047 */ 7049 */
7048 7050
7049 7051
7050 } // namespace v8 7052 } // namespace v8
7051 7053
7052 7054
7053 #undef TYPE_CHECK 7055 #undef TYPE_CHECK
7054 7056
7055 7057
7056 #endif // V8_H_ 7058 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698