public interface ExceptionMapper extends Serializable
Synchronization
registered by Hibernate handles
exceptions.Modifier and Type | Method and Description |
---|---|
RuntimeException |
mapManagedFlushFailure(String message,
RuntimeException failure)
Map an exception encountered during a managed flush to the appropriate runtime-based exception.
|
RuntimeException |
mapStatusCheckFailure(String message,
SystemException systemException)
Map a JTA
SystemException to the appropriate runtime-based exception. |
RuntimeException mapStatusCheckFailure(String message, SystemException systemException)
SystemException
to the appropriate runtime-based exception.message
- The message to use for the returned exceptionsystemException
- The causal exceptionRuntimeException mapManagedFlushFailure(String message, RuntimeException failure)
message
- The message to use for the returned exceptionfailure
- The causal exceptionCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.