refreshParams(context);
Group comm = Group.find(context, Integer.parseInt(id));
return comm != null ? true : false;
} catch (SQLException ex) {
throw new EntityException("Internal server error", "SQL error", 500);
} catch (NumberFormatException ex) {
throw new EntityException("Bad request", "Could not parse input", 400);
} finally {
removeConn(context);
}
}