public interface

ExceptionMapper

org.hibernate.transaction.synchronization.ExceptionMapper

Class Overview

TODO : javadoc

Summary

Public Methods
abstract RuntimeException mapManagedFlushFailure(String message, RuntimeException failure)
Map an exception encountered during a managed flush to the appropriate runtime-based exception.
abstract RuntimeException mapStatusCheckFailure(String message, SystemException systemException)
Map a JTA SystemException to the appropriate runtime-based exception.

Public Methods

public abstract RuntimeException mapManagedFlushFailure (String message, RuntimeException failure)

Map an exception encountered during a managed flush to the appropriate runtime-based exception.

Parameters
message The message to use for the returned exception
failure The causal exception
Returns
  • The appropriate exception to throw

public abstract RuntimeException mapStatusCheckFailure (String message, SystemException systemException)

Map a JTA SystemException to the appropriate runtime-based exception.

Parameters
message The message to use for the returned exception
systemException The causal exception
Returns
  • The appropriate exception to throw