public class ReactiveExceptionConverter
extends ExceptionConverterImpl
Depending on the value of org.hibernate.cfg.AvailableSettings#NATIVE_EXCEPTION_HANDLING_51_COMPLIANCE
it converts the exception to a HibernateException
or a javax.persistence.PersistenceException
.
org.hibernate.engine.spi.ExceptionConverter
, org.hibernate.cfg.AvailableSettings#NATIVE_EXCEPTION_HANDLING_51_COMPLIANCE
Constructor and Description |
---|
ReactiveExceptionConverter(SharedSessionContractImplementor sharedSessionContract) |
Modifier and Type | Method and Description |
---|---|
RuntimeException | convert(RuntimeException e) |
public ReactiveExceptionConverter(SharedSessionContractImplementor sharedSessionContract)
public RuntimeException convert(RuntimeException e)