public void cancel(String queryName) {
try {
//System.out.println("Cancel: ID " + Thread.currentThread().getId() + " Name: " +
// Thread.currentThread().getName());
IQuery q = getIQuery(queryName);
q.cancel();
} catch (Exception e) {
throw new SaikuServiceException("Error cancelling query: " + queryName, e);
}
}