|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionMapper
A pluggable strategy for defining how the Synchronization registered by Hibernate handles
exceptions.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
RuntimeException mapStatusCheckFailure(String message,
SystemException systemException)
SystemException to the appropriate runtime-based exception.
message - The message to use for the returned exceptionsystemException - The causal exception
RuntimeException mapManagedFlushFailure(String message,
RuntimeException failure)
message - The message to use for the returned exceptionfailure - The causal exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||