Class ProcessDataAccessExceptionHandler
- java.lang.Object
-
- com.aquima.interactions.foundation.exception.DataAccessExceptionHandler
-
- com.aquima.interactions.process.exception.ProcessDataAccessExceptionHandler
-
public class ProcessDataAccessExceptionHandler extends DataAccessExceptionHandler
Utility class for building exception messages and throwing different types of exceptions.- Since:
- 12.3
- Author:
- S. Wartenberg
-
-
Field Summary
-
Fields inherited from class com.aquima.interactions.foundation.exception.DataAccessExceptionHandler
DEFAULT_EXCEPTION_MESSAGE_TEXT
-
-
Constructor Summary
Constructors Constructor Description ProcessDataAccessExceptionHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AppException
handleAsAppException(AppDataAccessException e)
Throws aAppException
and logs the error message.-
Methods inherited from class com.aquima.interactions.foundation.exception.DataAccessExceptionHandler
buildAndLogErrorMessage
-
-
-
-
Method Detail
-
handleAsAppException
public static AppException handleAsAppException(AppDataAccessException e)
Throws aAppException
and logs the error message.- Parameters:
e
- corresponding data access exception.- Returns:
- a new AppException.
-
-