def no_such_slice(slice_urn):
    "Raise a no such slice exception."
    fault_code = 'No such slice.'
    fault_string = 'The slice named by %s does not exist' % (slice_urn)
    raise xmlrpclib.Fault(fault_code, fault_string)
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient_geni/gopenflow/tests/rpc.py/no_such_slice/original