use of org.dbflute.jdbc.SQLExceptionDigger in project dbflute-core by dbflute.
the class BehaviorCommandInvoker method handleExecutionException.
protected void handleExecutionException(RuntimeException cause) {
if (cause instanceof SQLFailureException) {
throw cause;
}
final SQLExceptionDigger digger = getSQLExceptionDigger();
final SQLException sqlEx = digger.digUp(cause);
if (sqlEx != null) {
handleSQLException(sqlEx);
} else {
throw cause;
}
}
Aggregations