Class ExceptionMapperStandardImpl

    • Constructor Detail

      • ExceptionMapperStandardImpl

        public ExceptionMapperStandardImpl()
    • Method Detail

      • mapStatusCheckFailure

        public RuntimeException mapStatusCheckFailure​(String message,
                                                      jakarta.transaction.SystemException systemException,
                                                      SessionImplementor sessionImplementor)
        Description copied from interface: ExceptionMapper
        Map a JTA SystemException to the appropriate runtime-based exception.
        Specified by:
        mapStatusCheckFailure in interface ExceptionMapper
        Parameters:
        message - The message to use for the returned exception
        systemException - The causal exception
        Returns:
        The appropriate exception to throw