Lines Matching defs:provider
160 // Just delegate back to the service with the provider map.
285 /* void registerErrorProvider (in nsIExceptionProvider provider, in PRUint32 moduleCode); */
286 NS_IMETHODIMP nsExceptionService::RegisterExceptionProvider(nsIExceptionProvider *provider, PRUint32 errorModule)
291 if (mProviders.Put(&key, provider)) {
292 NS_WARNING("Registration of exception provider overwrote another provider with the same module code!");
297 /* void unregisterErrorProvider (in nsIExceptionProvider provider, in PRUint32 errorModule); */
298 NS_IMETHODIMP nsExceptionService::UnregisterExceptionProvider(nsIExceptionProvider *provider, PRUint32 errorModule)
303 NS_WARNING("Attempt to unregister an unregistered exception provider!");
331 nsCOMPtr<nsIExceptionProvider> provider =
334 // No provider so we'll return the default exception
335 if (!provider) {
341 return provider->GetException(errCode, defaultException, _exc);