|
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
|
2 * |
|
3 * This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #include "nsISupports.idl" |
|
8 #include "nsIException.idl" |
|
9 |
|
10 [scriptable, uuid(dd250248-2586-4ec1-a68f-8d14ef452517)] |
|
11 interface nsIXPCException : nsIException |
|
12 { |
|
13 // inherits methods from nsIException |
|
14 |
|
15 void initialize(in AUTF8String aMessage, |
|
16 in nsresult aResult, |
|
17 in AUTF8String aName, |
|
18 in nsIStackFrame aLocation, |
|
19 in nsISupports aData, |
|
20 in nsIException aInner); |
|
21 }; |
|
22 |
|
23 /* this goes into the C++ header verbatim. */ |
|
24 %{ C++ |
|
25 /********************************************************/ |
|
26 // {5632BF70-51EC-11d3-9896-006008962422} |
|
27 #define NS_XPCEXCEPTION_CID \ |
|
28 { 0x5632bf70, 0x51ec, 0x11d3, \ |
|
29 { 0x98, 0x96, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } } |
|
30 %} |
|
31 |