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