* @param re the RuntimeException to translate to a Rave application exception
* @return a Rave application exception representing the database error
*/
@Override
public DataAccessException translateExceptionIfPossible(RuntimeException re) {
DataAccessException e = null;
// first make sure the root exception is actually an org.h2.jdbc.JdbcSQLException
if (ExceptionUtils.getRootCause(re) instanceof JdbcSQLException) {
JdbcSQLException rootException = (JdbcSQLException)ExceptionUtils.getRootCause(re);
// now translate the H2 specific error codes into Rave's common application Exceptions