exceptionTranslator

Function used to translate SQL exceptions to rethrow them to users.