[scriptable, uuid(efc9d00b-231c-4feb-852c-ac017266a415)]
interface nsIExceptionManager : nsISupports

Methods

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