def port_10000_already_used(host, port):
    if ((port == 10000) and (host == '127.0.0.1')):
        raise exception.SocketPortInUseException(port=port, host=host, error='already in use')
def port_10000_already_used(host, port):
    if ((port == 10000) and (host == '127.0.0.1')):
        raise exception.SocketPortInUseException(port=port, host=host, error='already in use')