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
TransformsSQLExceptioninto a Spring-specificDataAccessException.- Since:
- 1.5.10
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description JooqExceptionTranslator()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexception(org.jooq.ExecuteContext context)
Constructor Detail
JooqExceptionTranslator
public JooqExceptionTranslator()
Method Detail
exception
public void exception(org.jooq.ExecuteContext context)
- Specified by:
exceptionin interfaceorg.jooq.ExecuteListener- Overrides:
exceptionin classorg.jooq.impl.DefaultExecuteListener