Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsExceptionService Class Reference

#include <nsExceptionService.h>

Inheritance diagram for nsExceptionService:

nsIObserver nsISupports nsISupports

List of all members.

Detailed Description

Exception Service definition

Definition at line 52 of file nsExceptionService.h.

Public Member Functions

nsresult DoGetExceptionFromProvider (nsresult errCode, nsIException *defaultException, nsIException **_richError)
nsIException getCurrentException ()
nsIException getExceptionFromProvider (in nsresult rc, in nsIException defaultException)
void observe (in nsISupports aSubject, in string aTopic, in wstring aData)
void registerExceptionProvider (in nsIExceptionProvider provider, in PRUint32 moduleCode)
void setCurrentException (in nsIException error)
void Shutdown ()
void unregisterExceptionProvider (in nsIExceptionProvider provider, in PRUint32 moduleCode)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Static Public Member Functions

static void AddThread (nsExceptionManager *)
static void DoDropThread (nsExceptionManager *thread)
static void DropAllThreads ()
static void DropThread (nsExceptionManager *)
static void PR_CALLBACK ThreadDestruct (void *data)

Public Attributes

readonly attribute
nsSupportsHashtable mProviders

Static Public Attributes

static nsExceptionManagerfirstThread = nsnull
static PRLock * lock = PR_FALSE
static PRUintn tlsIndex = BAD_TLS_INDEX

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index