js/xpconnect/idl/xpcexception.idl
author Daosheng Mu <daoshengmu@gmail.com>
Thu, 08 Dec 2016 13:00:44 -1000
changeset 326319 8003accbf0a8664721ca9cfd28d62ab35d633163
parent 289903 163552af0458f4585342eb7c7bd6606b43ac6f03
permissions -rw-r--r--
Bug 1315896 - Part 2: Remove MOZ_GAMEPAD in Gamepad module; r=ted.mielczarek MozReview-Commit-ID: Hbv6THaI5Rk

 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"
#include "nsIException.idl"

[scriptable, builtinclass, uuid(875e6645-e762-4da6-9ec8-bf19ab0050df)]
interface nsIXPCException : nsIException
{
    // inherits methods from nsIException

    void initialize(in AUTF8String      aMessage,
                    in nsresult         aResult,
                    in AUTF8String      aName,
                    in nsIStackFrame    aLocation,
                    in nsISupports      aData);
};

/* this goes into the C++ header verbatim. */
%{ C++
/********************************************************/
// {5632BF70-51EC-11d3-9896-006008962422}
#define NS_XPCEXCEPTION_CID  \
{ 0x5632bf70, 0x51ec, 0x11d3, \
    { 0x98, 0x96, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } }
%}