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

nsIErrorService Interface Reference

import "nsIErrorService.idl";

Inheritance diagram for nsIErrorService:


List of all members.

Detailed Description

nsIErrorService: This is an interim service that allows nsresult codes to be mapped to string bundles that can be used to look up error messages. String bundle keys can also be mapped.

This service will eventually get replaced by extending xpidl to allow errors to be defined. (http://bugzilla.mozilla.org/show_bug.cgi?id=13423).

Definition at line 49 of file nsIErrorService.idl.

Public Member Functions

string getErrorStringBundle (in short errorModule)
string getErrorStringBundleKey (in nsresult error)
void registerErrorStringBundle (in short errorModule, in string stringBundleURL)
void registerErrorStringBundleKey (in nsresult error, in string stringBundleKey)
void unregisterErrorStringBundle (in short errorModule)
void unregisterErrorStringBundleKey (in nsresult error)
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

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

Generated by  Doxygen 1.6.0   Back to index