michael@0: /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: #include "nsIException.idl" michael@0: michael@0: [scriptable, uuid(dd250248-2586-4ec1-a68f-8d14ef452517)] michael@0: interface nsIXPCException : nsIException michael@0: { michael@0: // inherits methods from nsIException michael@0: michael@0: void initialize(in AUTF8String aMessage, michael@0: in nsresult aResult, michael@0: in AUTF8String aName, michael@0: in nsIStackFrame aLocation, michael@0: in nsISupports aData, michael@0: in nsIException aInner); michael@0: }; michael@0: michael@0: /* this goes into the C++ header verbatim. */ michael@0: %{ C++ michael@0: /********************************************************/ michael@0: // {5632BF70-51EC-11d3-9896-006008962422} michael@0: #define NS_XPCEXCEPTION_CID \ michael@0: { 0x5632bf70, 0x51ec, 0x11d3, \ michael@0: { 0x98, 0x96, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } } michael@0: %} michael@0: