Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIException.idl
3 : */
4 :
5 : #ifndef __gen_nsIException_h__
6 : #define __gen_nsIException_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #include "js/Value.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 :
20 : /* starting interface: nsIStackFrame */
21 : #define NS_ISTACKFRAME_IID_STR "28bfb2a2-5ea6-4738-918b-049dc4d51f0b"
22 :
23 : #define NS_ISTACKFRAME_IID \
24 : {0x28bfb2a2, 0x5ea6, 0x4738, \
25 : { 0x91, 0x8b, 0x04, 0x9d, 0xc4, 0xd5, 0x1f, 0x0b }}
26 :
27 2020 : class NS_NO_VTABLE nsIStackFrame : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTACKFRAME_IID)
31 :
32 : /* readonly attribute uint32_t language; */
33 : NS_IMETHOD GetLanguage(uint32_t *aLanguage) = 0;
34 :
35 : /* readonly attribute AUTF8String languageName; */
36 : NS_IMETHOD GetLanguageName(nsACString & aLanguageName) = 0;
37 :
38 : /* [implicit_jscontext] readonly attribute AString filename; */
39 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) = 0;
40 :
41 : /* [implicit_jscontext] readonly attribute AString name; */
42 : NS_IMETHOD GetName(JSContext* cx, nsAString & aName) = 0;
43 :
44 : /* [implicit_jscontext] readonly attribute int32_t lineNumber; */
45 : NS_IMETHOD GetLineNumber(JSContext* cx, int32_t *aLineNumber) = 0;
46 :
47 : /* [implicit_jscontext] readonly attribute int32_t columnNumber; */
48 : NS_IMETHOD GetColumnNumber(JSContext* cx, int32_t *aColumnNumber) = 0;
49 :
50 : /* readonly attribute AUTF8String sourceLine; */
51 : NS_IMETHOD GetSourceLine(nsACString & aSourceLine) = 0;
52 :
53 : /* [implicit_jscontext] readonly attribute AString asyncCause; */
54 : NS_IMETHOD GetAsyncCause(JSContext* cx, nsAString & aAsyncCause) = 0;
55 :
56 : /* [implicit_jscontext] readonly attribute nsIStackFrame asyncCaller; */
57 : NS_IMETHOD GetAsyncCaller(JSContext* cx, nsIStackFrame * *aAsyncCaller) = 0;
58 :
59 : /* [implicit_jscontext] readonly attribute nsIStackFrame caller; */
60 : NS_IMETHOD GetCaller(JSContext* cx, nsIStackFrame * *aCaller) = 0;
61 :
62 : /* [implicit_jscontext] readonly attribute AString formattedStack; */
63 : NS_IMETHOD GetFormattedStack(JSContext* cx, nsAString & aFormattedStack) = 0;
64 :
65 : /* readonly attribute jsval nativeSavedFrame; */
66 : NS_IMETHOD GetNativeSavedFrame(JS::MutableHandleValue aNativeSavedFrame) = 0;
67 :
68 : /* [implicit_jscontext] AUTF8String toString (); */
69 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) = 0;
70 :
71 : };
72 :
73 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIStackFrame, NS_ISTACKFRAME_IID)
74 :
75 : /* Use this macro when declaring classes that implement this interface. */
76 : #define NS_DECL_NSISTACKFRAME \
77 : NS_IMETHOD GetLanguage(uint32_t *aLanguage) override; \
78 : NS_IMETHOD GetLanguageName(nsACString & aLanguageName) override; \
79 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) override; \
80 : NS_IMETHOD GetName(JSContext* cx, nsAString & aName) override; \
81 : NS_IMETHOD GetLineNumber(JSContext* cx, int32_t *aLineNumber) override; \
82 : NS_IMETHOD GetColumnNumber(JSContext* cx, int32_t *aColumnNumber) override; \
83 : NS_IMETHOD GetSourceLine(nsACString & aSourceLine) override; \
84 : NS_IMETHOD GetAsyncCause(JSContext* cx, nsAString & aAsyncCause) override; \
85 : NS_IMETHOD GetAsyncCaller(JSContext* cx, nsIStackFrame * *aAsyncCaller) override; \
86 : NS_IMETHOD GetCaller(JSContext* cx, nsIStackFrame * *aCaller) override; \
87 : NS_IMETHOD GetFormattedStack(JSContext* cx, nsAString & aFormattedStack) override; \
88 : NS_IMETHOD GetNativeSavedFrame(JS::MutableHandleValue aNativeSavedFrame) override; \
89 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) override;
90 :
91 : /* Use this macro when declaring the members of this interface when the
92 : class doesn't implement the interface. This is useful for forwarding. */
93 : #define NS_DECL_NON_VIRTUAL_NSISTACKFRAME \
94 : nsresult GetLanguage(uint32_t *aLanguage); \
95 : nsresult GetLanguageName(nsACString & aLanguageName); \
96 : nsresult GetFilename(JSContext* cx, nsAString & aFilename); \
97 : nsresult GetName(JSContext* cx, nsAString & aName); \
98 : nsresult GetLineNumber(JSContext* cx, int32_t *aLineNumber); \
99 : nsresult GetColumnNumber(JSContext* cx, int32_t *aColumnNumber); \
100 : nsresult GetSourceLine(nsACString & aSourceLine); \
101 : nsresult GetAsyncCause(JSContext* cx, nsAString & aAsyncCause); \
102 : nsresult GetAsyncCaller(JSContext* cx, nsIStackFrame * *aAsyncCaller); \
103 : nsresult GetCaller(JSContext* cx, nsIStackFrame * *aCaller); \
104 : nsresult GetFormattedStack(JSContext* cx, nsAString & aFormattedStack); \
105 : nsresult GetNativeSavedFrame(JS::MutableHandleValue aNativeSavedFrame); \
106 : nsresult ToString(JSContext* cx, nsACString & _retval);
107 :
108 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
109 : #define NS_FORWARD_NSISTACKFRAME(_to) \
110 : NS_IMETHOD GetLanguage(uint32_t *aLanguage) override { return _to GetLanguage(aLanguage); } \
111 : NS_IMETHOD GetLanguageName(nsACString & aLanguageName) override { return _to GetLanguageName(aLanguageName); } \
112 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) override { return _to GetFilename(cx, aFilename); } \
113 : NS_IMETHOD GetName(JSContext* cx, nsAString & aName) override { return _to GetName(cx, aName); } \
114 : NS_IMETHOD GetLineNumber(JSContext* cx, int32_t *aLineNumber) override { return _to GetLineNumber(cx, aLineNumber); } \
115 : NS_IMETHOD GetColumnNumber(JSContext* cx, int32_t *aColumnNumber) override { return _to GetColumnNumber(cx, aColumnNumber); } \
116 : NS_IMETHOD GetSourceLine(nsACString & aSourceLine) override { return _to GetSourceLine(aSourceLine); } \
117 : NS_IMETHOD GetAsyncCause(JSContext* cx, nsAString & aAsyncCause) override { return _to GetAsyncCause(cx, aAsyncCause); } \
118 : NS_IMETHOD GetAsyncCaller(JSContext* cx, nsIStackFrame * *aAsyncCaller) override { return _to GetAsyncCaller(cx, aAsyncCaller); } \
119 : NS_IMETHOD GetCaller(JSContext* cx, nsIStackFrame * *aCaller) override { return _to GetCaller(cx, aCaller); } \
120 : NS_IMETHOD GetFormattedStack(JSContext* cx, nsAString & aFormattedStack) override { return _to GetFormattedStack(cx, aFormattedStack); } \
121 : NS_IMETHOD GetNativeSavedFrame(JS::MutableHandleValue aNativeSavedFrame) override { return _to GetNativeSavedFrame(aNativeSavedFrame); } \
122 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) override { return _to ToString(cx, _retval); }
123 :
124 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
125 : #define NS_FORWARD_SAFE_NSISTACKFRAME(_to) \
126 : NS_IMETHOD GetLanguage(uint32_t *aLanguage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguage(aLanguage); } \
127 : NS_IMETHOD GetLanguageName(nsACString & aLanguageName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguageName(aLanguageName); } \
128 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(cx, aFilename); } \
129 : NS_IMETHOD GetName(JSContext* cx, nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(cx, aName); } \
130 : NS_IMETHOD GetLineNumber(JSContext* cx, int32_t *aLineNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(cx, aLineNumber); } \
131 : NS_IMETHOD GetColumnNumber(JSContext* cx, int32_t *aColumnNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnNumber(cx, aColumnNumber); } \
132 : NS_IMETHOD GetSourceLine(nsACString & aSourceLine) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSourceLine(aSourceLine); } \
133 : NS_IMETHOD GetAsyncCause(JSContext* cx, nsAString & aAsyncCause) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsyncCause(cx, aAsyncCause); } \
134 : NS_IMETHOD GetAsyncCaller(JSContext* cx, nsIStackFrame * *aAsyncCaller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAsyncCaller(cx, aAsyncCaller); } \
135 : NS_IMETHOD GetCaller(JSContext* cx, nsIStackFrame * *aCaller) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaller(cx, aCaller); } \
136 : NS_IMETHOD GetFormattedStack(JSContext* cx, nsAString & aFormattedStack) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormattedStack(cx, aFormattedStack); } \
137 : NS_IMETHOD GetNativeSavedFrame(JS::MutableHandleValue aNativeSavedFrame) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNativeSavedFrame(aNativeSavedFrame); } \
138 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(cx, _retval); }
139 :
140 : #if 0
141 : /* Use the code below as a template for the implementation class for this interface. */
142 :
143 : /* Header file */
144 : class nsStackFrame : public nsIStackFrame
145 : {
146 : public:
147 : NS_DECL_ISUPPORTS
148 : NS_DECL_NSISTACKFRAME
149 :
150 : nsStackFrame();
151 :
152 : private:
153 : ~nsStackFrame();
154 :
155 : protected:
156 : /* additional members */
157 : };
158 :
159 : /* Implementation file */
160 : NS_IMPL_ISUPPORTS(nsStackFrame, nsIStackFrame)
161 :
162 : nsStackFrame::nsStackFrame()
163 : {
164 : /* member initializers and constructor code */
165 : }
166 :
167 : nsStackFrame::~nsStackFrame()
168 : {
169 : /* destructor code */
170 : }
171 :
172 : /* readonly attribute uint32_t language; */
173 : NS_IMETHODIMP nsStackFrame::GetLanguage(uint32_t *aLanguage)
174 : {
175 : return NS_ERROR_NOT_IMPLEMENTED;
176 : }
177 :
178 : /* readonly attribute AUTF8String languageName; */
179 : NS_IMETHODIMP nsStackFrame::GetLanguageName(nsACString & aLanguageName)
180 : {
181 : return NS_ERROR_NOT_IMPLEMENTED;
182 : }
183 :
184 : /* [implicit_jscontext] readonly attribute AString filename; */
185 : NS_IMETHODIMP nsStackFrame::GetFilename(JSContext* cx, nsAString & aFilename)
186 : {
187 : return NS_ERROR_NOT_IMPLEMENTED;
188 : }
189 :
190 : /* [implicit_jscontext] readonly attribute AString name; */
191 : NS_IMETHODIMP nsStackFrame::GetName(JSContext* cx, nsAString & aName)
192 : {
193 : return NS_ERROR_NOT_IMPLEMENTED;
194 : }
195 :
196 : /* [implicit_jscontext] readonly attribute int32_t lineNumber; */
197 : NS_IMETHODIMP nsStackFrame::GetLineNumber(JSContext* cx, int32_t *aLineNumber)
198 : {
199 : return NS_ERROR_NOT_IMPLEMENTED;
200 : }
201 :
202 : /* [implicit_jscontext] readonly attribute int32_t columnNumber; */
203 : NS_IMETHODIMP nsStackFrame::GetColumnNumber(JSContext* cx, int32_t *aColumnNumber)
204 : {
205 : return NS_ERROR_NOT_IMPLEMENTED;
206 : }
207 :
208 : /* readonly attribute AUTF8String sourceLine; */
209 : NS_IMETHODIMP nsStackFrame::GetSourceLine(nsACString & aSourceLine)
210 : {
211 : return NS_ERROR_NOT_IMPLEMENTED;
212 : }
213 :
214 : /* [implicit_jscontext] readonly attribute AString asyncCause; */
215 : NS_IMETHODIMP nsStackFrame::GetAsyncCause(JSContext* cx, nsAString & aAsyncCause)
216 : {
217 : return NS_ERROR_NOT_IMPLEMENTED;
218 : }
219 :
220 : /* [implicit_jscontext] readonly attribute nsIStackFrame asyncCaller; */
221 : NS_IMETHODIMP nsStackFrame::GetAsyncCaller(JSContext* cx, nsIStackFrame * *aAsyncCaller)
222 : {
223 : return NS_ERROR_NOT_IMPLEMENTED;
224 : }
225 :
226 : /* [implicit_jscontext] readonly attribute nsIStackFrame caller; */
227 : NS_IMETHODIMP nsStackFrame::GetCaller(JSContext* cx, nsIStackFrame * *aCaller)
228 : {
229 : return NS_ERROR_NOT_IMPLEMENTED;
230 : }
231 :
232 : /* [implicit_jscontext] readonly attribute AString formattedStack; */
233 : NS_IMETHODIMP nsStackFrame::GetFormattedStack(JSContext* cx, nsAString & aFormattedStack)
234 : {
235 : return NS_ERROR_NOT_IMPLEMENTED;
236 : }
237 :
238 : /* readonly attribute jsval nativeSavedFrame; */
239 : NS_IMETHODIMP nsStackFrame::GetNativeSavedFrame(JS::MutableHandleValue aNativeSavedFrame)
240 : {
241 : return NS_ERROR_NOT_IMPLEMENTED;
242 : }
243 :
244 : /* [implicit_jscontext] AUTF8String toString (); */
245 : NS_IMETHODIMP nsStackFrame::ToString(JSContext* cx, nsACString & _retval)
246 : {
247 : return NS_ERROR_NOT_IMPLEMENTED;
248 : }
249 :
250 : /* End of implementation class template. */
251 : #endif
252 :
253 :
254 : /* starting interface: nsIException */
255 : #define NS_IEXCEPTION_IID_STR "4371b5bf-6845-487f-8d9d-3f1e4a9badd2"
256 :
257 : #define NS_IEXCEPTION_IID \
258 : {0x4371b5bf, 0x6845, 0x487f, \
259 : { 0x8d, 0x9d, 0x3f, 0x1e, 0x4a, 0x9b, 0xad, 0xd2 }}
260 :
261 1985 : class NS_NO_VTABLE nsIException : public nsISupports {
262 : public:
263 :
264 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IEXCEPTION_IID)
265 :
266 : /* [binaryname(MessageMoz)] readonly attribute AUTF8String message; */
267 : NS_IMETHOD GetMessageMoz(nsACString & aMessage) = 0;
268 :
269 : /* readonly attribute nsresult result; */
270 : NS_IMETHOD GetResult(nsresult *aResult) = 0;
271 :
272 : /* readonly attribute AUTF8String name; */
273 : NS_IMETHOD GetName(nsACString & aName) = 0;
274 :
275 : /* [implicit_jscontext] readonly attribute AString filename; */
276 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) = 0;
277 :
278 : /* [implicit_jscontext] readonly attribute uint32_t lineNumber; */
279 : NS_IMETHOD GetLineNumber(JSContext* cx, uint32_t *aLineNumber) = 0;
280 :
281 : /* readonly attribute uint32_t columnNumber; */
282 : NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) = 0;
283 :
284 : /* readonly attribute nsIStackFrame location; */
285 : NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) = 0;
286 :
287 : /* readonly attribute nsISupports data; */
288 : NS_IMETHOD GetData(nsISupports * *aData) = 0;
289 :
290 : /* [implicit_jscontext] AUTF8String toString (); */
291 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) = 0;
292 :
293 : };
294 :
295 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIException, NS_IEXCEPTION_IID)
296 :
297 : /* Use this macro when declaring classes that implement this interface. */
298 : #define NS_DECL_NSIEXCEPTION \
299 : NS_IMETHOD GetMessageMoz(nsACString & aMessage) override; \
300 : NS_IMETHOD GetResult(nsresult *aResult) override; \
301 : NS_IMETHOD GetName(nsACString & aName) override; \
302 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) override; \
303 : NS_IMETHOD GetLineNumber(JSContext* cx, uint32_t *aLineNumber) override; \
304 : NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override; \
305 : NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) override; \
306 : NS_IMETHOD GetData(nsISupports * *aData) override; \
307 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) override;
308 :
309 : /* Use this macro when declaring the members of this interface when the
310 : class doesn't implement the interface. This is useful for forwarding. */
311 : #define NS_DECL_NON_VIRTUAL_NSIEXCEPTION \
312 : nsresult GetMessageMoz(nsACString & aMessage); \
313 : nsresult GetResult(nsresult *aResult); \
314 : nsresult GetName(nsACString & aName); \
315 : nsresult GetFilename(JSContext* cx, nsAString & aFilename); \
316 : nsresult GetLineNumber(JSContext* cx, uint32_t *aLineNumber); \
317 : nsresult GetColumnNumber(uint32_t *aColumnNumber); \
318 : nsresult GetLocation(nsIStackFrame * *aLocation); \
319 : nsresult GetData(nsISupports * *aData); \
320 : nsresult ToString(JSContext* cx, nsACString & _retval);
321 :
322 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
323 : #define NS_FORWARD_NSIEXCEPTION(_to) \
324 : NS_IMETHOD GetMessageMoz(nsACString & aMessage) override { return _to GetMessageMoz(aMessage); } \
325 : NS_IMETHOD GetResult(nsresult *aResult) override { return _to GetResult(aResult); } \
326 : NS_IMETHOD GetName(nsACString & aName) override { return _to GetName(aName); } \
327 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) override { return _to GetFilename(cx, aFilename); } \
328 : NS_IMETHOD GetLineNumber(JSContext* cx, uint32_t *aLineNumber) override { return _to GetLineNumber(cx, aLineNumber); } \
329 : NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override { return _to GetColumnNumber(aColumnNumber); } \
330 : NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) override { return _to GetLocation(aLocation); } \
331 : NS_IMETHOD GetData(nsISupports * *aData) override { return _to GetData(aData); } \
332 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) override { return _to ToString(cx, _retval); }
333 :
334 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
335 : #define NS_FORWARD_SAFE_NSIEXCEPTION(_to) \
336 : NS_IMETHOD GetMessageMoz(nsACString & aMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageMoz(aMessage); } \
337 : NS_IMETHOD GetResult(nsresult *aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetResult(aResult); } \
338 : NS_IMETHOD GetName(nsACString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
339 : NS_IMETHOD GetFilename(JSContext* cx, nsAString & aFilename) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilename(cx, aFilename); } \
340 : NS_IMETHOD GetLineNumber(JSContext* cx, uint32_t *aLineNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLineNumber(cx, aLineNumber); } \
341 : NS_IMETHOD GetColumnNumber(uint32_t *aColumnNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnNumber(aColumnNumber); } \
342 : NS_IMETHOD GetLocation(nsIStackFrame * *aLocation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
343 : NS_IMETHOD GetData(nsISupports * *aData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
344 : NS_IMETHOD ToString(JSContext* cx, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(cx, _retval); }
345 :
346 : #if 0
347 : /* Use the code below as a template for the implementation class for this interface. */
348 :
349 : /* Header file */
350 : class nsException : public nsIException
351 : {
352 : public:
353 : NS_DECL_ISUPPORTS
354 : NS_DECL_NSIEXCEPTION
355 :
356 : nsException();
357 :
358 : private:
359 : ~nsException();
360 :
361 : protected:
362 : /* additional members */
363 : };
364 :
365 : /* Implementation file */
366 : NS_IMPL_ISUPPORTS(nsException, nsIException)
367 :
368 : nsException::nsException()
369 : {
370 : /* member initializers and constructor code */
371 : }
372 :
373 : nsException::~nsException()
374 : {
375 : /* destructor code */
376 : }
377 :
378 : /* [binaryname(MessageMoz)] readonly attribute AUTF8String message; */
379 : NS_IMETHODIMP nsException::GetMessageMoz(nsACString & aMessage)
380 : {
381 : return NS_ERROR_NOT_IMPLEMENTED;
382 : }
383 :
384 : /* readonly attribute nsresult result; */
385 : NS_IMETHODIMP nsException::GetResult(nsresult *aResult)
386 : {
387 : return NS_ERROR_NOT_IMPLEMENTED;
388 : }
389 :
390 : /* readonly attribute AUTF8String name; */
391 : NS_IMETHODIMP nsException::GetName(nsACString & aName)
392 : {
393 : return NS_ERROR_NOT_IMPLEMENTED;
394 : }
395 :
396 : /* [implicit_jscontext] readonly attribute AString filename; */
397 : NS_IMETHODIMP nsException::GetFilename(JSContext* cx, nsAString & aFilename)
398 : {
399 : return NS_ERROR_NOT_IMPLEMENTED;
400 : }
401 :
402 : /* [implicit_jscontext] readonly attribute uint32_t lineNumber; */
403 : NS_IMETHODIMP nsException::GetLineNumber(JSContext* cx, uint32_t *aLineNumber)
404 : {
405 : return NS_ERROR_NOT_IMPLEMENTED;
406 : }
407 :
408 : /* readonly attribute uint32_t columnNumber; */
409 : NS_IMETHODIMP nsException::GetColumnNumber(uint32_t *aColumnNumber)
410 : {
411 : return NS_ERROR_NOT_IMPLEMENTED;
412 : }
413 :
414 : /* readonly attribute nsIStackFrame location; */
415 : NS_IMETHODIMP nsException::GetLocation(nsIStackFrame * *aLocation)
416 : {
417 : return NS_ERROR_NOT_IMPLEMENTED;
418 : }
419 :
420 : /* readonly attribute nsISupports data; */
421 : NS_IMETHODIMP nsException::GetData(nsISupports * *aData)
422 : {
423 : return NS_ERROR_NOT_IMPLEMENTED;
424 : }
425 :
426 : /* [implicit_jscontext] AUTF8String toString (); */
427 : NS_IMETHODIMP nsException::ToString(JSContext* cx, nsACString & _retval)
428 : {
429 : return NS_ERROR_NOT_IMPLEMENTED;
430 : }
431 :
432 : /* End of implementation class template. */
433 : #endif
434 :
435 :
436 : #endif /* __gen_nsIException_h__ */
|