|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.skife.jdbi.spring.SQLExceptionTranslatingThrowsAdvice
public class SQLExceptionTranslatingThrowsAdvice
Implementation of an AOP advice that provides translation of SQLExceptions reported by DBI into Spring's DataAccessException hierarchy.
Constructor Summary | |
---|---|
SQLExceptionTranslatingThrowsAdvice(javax.sql.DataSource dataSource)
|
Method Summary | |
---|---|
void |
afterThrowing(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object target,
DBIException ex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLExceptionTranslatingThrowsAdvice(javax.sql.DataSource dataSource)
Method Detail |
---|
public void afterThrowing(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object target, DBIException ex) throws java.lang.Throwable
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |