Class JooqExceptionTranslator
java.lang.Object
org.jooq.impl.DefaultExecuteListener
org.springframework.boot.autoconfigure.jooq.JooqExceptionTranslator
- All Implemented Interfaces:
Serializable
,EventListener
,org.jooq.ExecuteListener
public class JooqExceptionTranslator
extends org.jooq.impl.DefaultExecuteListener
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 org.jooq.impl.DefaultExecuteListener
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
- Overrides:
exception
in classorg.jooq.impl.DefaultExecuteListener
-