Public Member Functions

nsIExceptionManager Interface Reference

import "nsIExceptionService.idl";

Inheritance diagram for nsIExceptionManager:

List of all members.

Public Member Functions

void setCurrentException (in nsIException error)
 Sets (or clears with nsnull) the current error on the this thread.
nsIException getCurrentException ()
 Gets the current error for the current thread, or NULL if no error.
nsIException getExceptionFromProvider (in nsresult rc, in nsIException defaultException)
 Gets an exception from a registered exception provider.

Member Function Documentation

nsIException nsIExceptionManager::getCurrentException (  ) 

Gets the current error for the current thread, or NULL if no error.

nsIException nsIExceptionManager::getExceptionFromProvider ( in nsresult  rc,
in nsIException  defaultException 
)

Gets an exception from a registered exception provider.

This has no effect on the "current exception"

void nsIExceptionManager::setCurrentException ( in nsIException  error  ) 

Sets (or clears with nsnull) the current error on the this thread.


The documentation for this interface was generated from the following file: