if (log.isWarnEnabled()) log.warn("Attempting rollback due to " + t);
hibernateUtil.rollbackTransaction();
} catch (HibernateException e) {
log.error(e,e);
if (response == null) {
throw new Http500("Unable to rollback the database: " + e, e);
} else {
return response; // basically someone else has already done something, no need to muck it up.
}
}
return super.processException(request, response, t);