def __init__(self,repo,what): self.what=what self.repository = repo logger.error("A severe error occurred in the Repository '%s': %s" % (repo.registry.name, what)) logger.error('If you believe the problem has been solved, type "reactivate()" to re-enable ') disableInternalServices() GangaException.__init__(self,what)
def __init__(self, repo=None, what=''): GangaException.__init__(self, what) self.what = what self.repository = repo logger.error("A severe error occurred in the Repository '%s': %s" % (repo.registry.name, what)) logger.error('If you believe the problem has been solved, type "reactivate()" to re-enable ') try: from Ganga.Core.InternalServices.Coordinator import disableInternalServices disableInternalServices() logger.error("Shutting Down Repository_runtime") from Ganga.Runtime import Repository_runtime Repository_runtime.shutdown() except: logger.error("Unable to disable Internal services, they may have already been disabled!")
def __init__(self, repo=None, what=''): GangaException.__init__(self, what) self.what = what self.repository = repo logger.error("A severe error occurred in the Repository '%s': %s" % (repo.registry.name, what)) logger.error( 'If you believe the problem has been solved, type "reactivate()" to re-enable ' ) try: from Ganga.Core.InternalServices.Coordinator import disableInternalServices disableInternalServices() logger.error("Shutting Down Repository_runtime") from Ganga.Runtime import Repository_runtime Repository_runtime.shutdown() except: logger.error( "Unable to disable Internal services, they may have already been disabled!" )
def __init__(self, message=''): GangaException.__init__(self, message) self.message = message
def __init__(self, repo=None, id='', orig=None): GangaException.__init__(self, "Inaccessible Object") self.repo = repo self.id = id self.orig = orig
def __init__(self, what=''): GangaException.__init__(self, what) self.what = what
def __init__(self,txt): GangaException.__init__(self,txt) self.txt=txt