예제 #1
0
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[60311] = Exit60311()
        self.handlers[60318] = Exit60318()

        catchAll = DUExceptionHandler()
        [self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if not self.handlers.has_key(x)]
예제 #2
0
    def __init__(self):
        Diagnostic.__init__(self)

        catchAll = DFExceptionHandler()
        for x in range(0, 255):
            if x not in self.handlers:
                self.handlers.__setitem__(x, catchAll)
예제 #3
0
    def __init__(self):
        Diagnostic.__init__(self)

        # Set defaults
        catchAll            = SOMExceptionHandler()
        self.defaultHandler = catchAll

        [ self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if x not in self.handlers ]
예제 #4
0
    def __init__(self):
        Diagnostic.__init__(self)

        # Setup a default handler
        catchAll            = LAExceptionHandler()
        self.defaultHandler = catchAll

        [ self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if not self.handlers.has_key(x) ]
예제 #5
0
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[60319] = Exit60319()

        catchAll = AHExceptionHandler()
        for x in range(0, 255):
            if x not in self.handlers:
                self.handlers.__setitem__(x, catchAll)
예제 #6
0
    def __init__(self):
        Diagnostic.__init__(self)

        # Setup a default handler
        catchAll            = LAExceptionHandler()
        self.defaultHandler = catchAll
        for x in range(0, 255):
            if x not in self.handlers:
                self.handlers.__setitem__(x, catchAll)
예제 #7
0
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[60319] = Exit60319()

        catchAll = AHExceptionHandler()
        [
            self.handlers.__setitem__(x, catchAll) for x in range(0, 255)
            if not self.handlers.has_key(x)
        ]
예제 #8
0
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[70318] = Exit70318()

        catchAll = DUExceptionHandler()
        dummyOut = [
            self.handlers.__setitem__(x, catchAll) for x in range(0, 255)
            if x not in self.handlers
        ]
예제 #9
0
    def __init__(self):
        Diagnostic.__init__(self)

        # Setup a default handler
        catchAll = LAExceptionHandler()
        self.defaultHandler = catchAll

        [
            self.handlers.__setitem__(x, catchAll) for x in range(0, 255)
            if not self.handlers.has_key(x)
        ]
예제 #10
0
    def __init__(self):
        Diagnostic.__init__(self)

        # Set defaults
        catchAll = SOMExceptionHandler()
        self.defaultHandler = catchAll

        [
            self.handlers.__setitem__(x, catchAll) for x in range(0, 255)
            if x not in self.handlers
        ]
예제 #11
0
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[50513] = Exit50513()
        self.handlers[126] = Exit126()
        self.handlers[127] = Exit127()
        self.handlers[65] = CMSRunHandler(8001, "CMSException")
        self.handlers[66] = CMSRunHandler(8002, "StdException")
        self.handlers[67] = CMSRunHandler(8003, "UnknownException")
        self.handlers[68] = CMSRunHandler(8004, "StdBadAlloc")
        self.handlers[88] = CMSRunHandler(7000, "CommandLineProcessing")
        self.handlers[89] = CMSRunHandler(7001, "ConfigFileNotFound")
        self.handlers[90] = CMSRunHandler(7002, "ConfigFileReadError")

        self.defaultHandler = CMSDefaultHandler()

        # for all the exception codes between 1 and 225, use a default that attempts to read the code
        # from the job report
        catchAll = EDMExceptionHandler()
        [self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if x not in self.handlers]
예제 #12
0
파일: LogCollect.py 프로젝트: dmwm/WMCore
    def __init__(self):
        Diagnostic.__init__(self)


        catchAll = LCExceptionHandler()
        [ self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if x not in self.handlers ]
예제 #13
0
파일: AlcaHarvest.py 프로젝트: dmwm/WMCore
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[60319] = Exit60319()

        catchAll = AHExceptionHandler()
        [self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if x not in self.handlers]
예제 #14
0
    def __init__(self):
        Diagnostic.__init__(self)


        catchAll = DFExceptionHandler()
        [ self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if not self.handlers.has_key(x) ]
예제 #15
0
파일: DQMUpload.py 프로젝트: dmwm/WMCore
    def __init__(self):
        Diagnostic.__init__(self)
        self.handlers[70318] = Exit70318()

        catchAll = DUExceptionHandler()
        dummyOut = [self.handlers.__setitem__(x, catchAll) for x in range(0, 255) if x not in self.handlers]
예제 #16
0
파일: Generic.py 프로젝트: stuartw/WMCore
 def __init__(self):
     Diagnostic.__init__(self)
예제 #17
0
 def __init__(self):
     Diagnostic.__init__(self)