def METHOD_NAME(self, method_name, *params):
    try:
        result = repository.RPC_Repository.METHOD_NAME(self, method_name, *params)
    except xmlrpclib.Fault:
        e = sys.exc_info()[1]
        if e.faultCode == -9:
            # System not subscribed
            raise_with_tb(cfg_exceptions.AuthenticationError(
                "Invalid digital server certificate%s" % e.faultString), sys.exc_info()[2])
        raise
    return result