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
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidexception(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, waitMethods 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:
exceptionin interfaceorg.jooq.ExecuteListener
-
ExceptionTranslatorExecuteListener.DEFAULTorExceptionTranslatorExecuteListener.of(java.util.function.Function<org.jooq.ExecuteContext, org.springframework.jdbc.support.SQLExceptionTranslator>)