public String sqlExecutionException(Throwable th, String postErrorString) { SQLExecutionException ex = new SQLExecutionException(th, postErrorString); String message = _session.formatException(ex); _session.showErrorMessage(message); if (_session.getProperties().getWriteSQLErrorsToLog()) { s_log.info(message); } return message; }
public String sqlExecutionException(Throwable th, String postErrorString) { SQLExecutionException ex = new SQLExecutionException(th, postErrorString); String message = _session.formatException(ex); _session.showErrorMessage(message); if (_session.getProperties().getWriteSQLErrorsToLog()) { s_log.info(message); } return message; }