presto-main/src/main/java/io/prestosql/server/QueryResource.java/QueryResource/preemptQuery
class QueryResource:    @PUT
    @Path("{queryId}/preempted")
    public Response preemptQuery(@PathParam("queryId") QueryId queryId, String message)
    {
        return failQuery(queryId, createPreemptQueryException(message));
    }