Interface ExceptionMapper
public interface ExceptionMapper
TODO : javadoc
-
Method Summary
Modifier and TypeMethodDescriptionmapManagedFlushFailure(String message, RuntimeException failure) Map an exception encountered during a managed flush to the appropriate runtime-based exception.mapStatusCheckFailure(String message, SystemException systemException) Map a JTASystemExceptionto the appropriate runtime-based exception.
-
Method Details
-
mapStatusCheckFailure
Map a JTASystemExceptionto the appropriate runtime-based exception.- Parameters:
message- The message to use for the returned exceptionsystemException- The causal exception- Returns:
- The appropriate exception to throw
-
mapManagedFlushFailure
Map an exception encountered during a managed flush to the appropriate runtime-based exception.- Parameters:
message- The message to use for the returned exceptionfailure- The causal exception- Returns:
- The appropriate exception to throw
-