- try {
- if (target.getAssurancePoints() == 0) {
- vars.put("DoB", ds);
- templ.output(out, l, vars);
- } else {
- vars.put("DoB", DateSelector.getDateFormat().format(target.getDob()));
- assured.output(out, l, vars);
- }
- } catch (SQLException e) {
- e.printStackTrace();
+ if (target.getAssurancePoints() == 0) {
+ vars.put("DoB", ds);
+ templ.output(out, l, vars);
+ } else {
+ vars.put("DoB", DateSelector.getDateFormat().format(target.getDob()));
+ assured.output(out, l, vars);