Class JooqExceptionTranslator
java.lang.Object
org.springframework.boot.autoconfigure.jooq.JooqExceptionTranslator
- All Implemented Interfaces:
Serializable
,EventListener
,org.jooq.ExecuteListener
@Deprecated(since="3.3.0",
forRemoval=true)
public class JooqExceptionTranslator
extends Object
implements org.jooq.ExecuteListener
Deprecated, for removal: This API element is subject to removal in a future version.
Transforms
SQLException
into a Spring-specific DataAccessException
.- Since:
- 1.5.10
- Author:
- Lukas Eder, Andreas Ahlenstorf, Phillip Webb, Stephane Nicoll
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
exception
(org.jooq.ExecuteContext context) Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
exception
public void exception(org.jooq.ExecuteContext context) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
exception
in interfaceorg.jooq.ExecuteListener
-
ExceptionTranslatorExecuteListener.DEFAULT
orExceptionTranslatorExecuteListener.of(java.util.function.Function<org.jooq.ExecuteContext, org.springframework.jdbc.support.SQLExceptionTranslator>)