Esempio n. 1
0
    def __init__(self, error_string=None, proxy_error=None):
        rpc_error_code = None

        if proxy_error is not None:
            try:
                search = self.parser.search(proxy_error)
                rpc_error_code = int(search.group(1), 16)
            except:
                error_string += ': ' + proxy_error

        DCERPCException.__init__(self, error_string, rpc_error_code)
Esempio n. 2
0
 def __init__(self, error_string=None, error_code=None, packet=None):
     DCERPCException.__init__(self, error_string, error_code, packet)
Esempio n. 3
0
 def __init__(self, error_string=None, error_code=None, packet=None):
     DCERPCException.__init__(self, error_string, error_code, packet)