示例#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
    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)