Class JooqExceptionTranslator
java.lang.Object
org.springframework.boot.autoconfigure.jooq.JooqExceptionTranslator
- All Implemented Interfaces:
Serializable
,EventListener
,org.jooq.ExecuteListener
Transforms
SQLException
into a Spring-specific
DataAccessException
.- Since:
- 1.5.10
- Author:
- Lukas Eder, Andreas Ahlenstorf, Phillip Webb, Stephane Nicoll
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jooq.ExecuteListener
bindEnd, bindStart, end, executeEnd, executeStart, fetchEnd, fetchStart, outEnd, outStart, prepareEnd, prepareStart, recordEnd, recordStart, renderEnd, renderStart, resultEnd, resultStart, start, warning
-
Constructor Details
-
JooqExceptionTranslator
public JooqExceptionTranslator()
-
-
Method Details
-
exception
public void exception(org.jooq.ExecuteContext context) - Specified by:
exception
in interfaceorg.jooq.ExecuteListener
-