Changeset 15072


Ignore:
Timestamp:
03/07/10 09:11:43 (2 years ago)
Author:
sam
Message:

scHttpDataProvider : try catch autour de l'abonnement à la liste des wsp actifs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Wsp/components/scHttpDataProvider.js

    r14923 r15072  
    148148 
    149149                //Abonnement à la liste des wsp actifs 
    150                 this.fWspReg = Components.classes["@scenari.com/wspregistryservice;1"].getService(Components.interfaces.scIWspRegistryService); 
    151                 this.xBuildWspList(); 
    152                 this.fWspReg.addWspRegListener(this); 
     150                try { 
     151                        this.fWspReg = Components.classes["@scenari.com/wspregistryservice;1"].getService(Components.interfaces.scIWspRegistryService); 
     152                        this.xBuildWspList(); 
     153                        this.fWspReg.addWspRegListener(this); 
     154                } catch(e){ 
     155                        debug("Echec abonnement à la liste des wsp actifs: "+ e); 
     156                } 
    153157                 
    154158                //Gestion du reload de l'ihm avec préservation du serveur local. 
Note: See TracChangeset for help on using the changeset viewer.