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
TransformsSQLException
into 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 void
exception(org.jooq.ExecuteContext context)
Constructor Detail
JooqExceptionTranslator
public JooqExceptionTranslator()
Method Detail
exception
public void exception(org.jooq.ExecuteContext context)
- Specified by:
exception
in interfaceorg.jooq.ExecuteListener
- Overrides:
exception
in classorg.jooq.impl.DefaultExecuteListener