Class ReactiveExceptionConverter

java.lang.Object
org.hibernate.internal.ExceptionConverterImpl
org.hibernate.reactive.session.impl.ReactiveExceptionConverter
All Implemented Interfaces:
org.hibernate.engine.spi.ExceptionConverter

public class ReactiveExceptionConverter extends org.hibernate.internal.ExceptionConverterImpl
Handle exceptions and convert them following the logic used in Hibernate ORM.

It converts the exception to a HibernateException or a PersistenceException.

See Also:
  • ExceptionConverter
  • Constructor Details

    • ReactiveExceptionConverter

      public ReactiveExceptionConverter(org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContract)
  • Method Details

    • convert

      public RuntimeException convert(RuntimeException e)
      Specified by:
      convert in interface org.hibernate.engine.spi.ExceptionConverter
      Overrides:
      convert in class org.hibernate.internal.ExceptionConverterImpl