Class DataAccessExceptionHandler
java.lang.Object
com.aquima.interactions.foundation.exception.DataAccessExceptionHandler
- Direct Known Subclasses:
PortalDataAccessExceptionHandler
,ProcessDataAccessExceptionHandler
Utility class for building exception messages and throwing different types of exceptions.
- Since:
- 10.0
- Author:
- Voicu Moldovan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Default text message to rollback to, if no message with the above key is found. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
This class just builds and logs the error message for a given exception without throwing another exception.
-
Field Details
-
DEFAULT_EXCEPTION_MESSAGE_TEXT
Default text message to rollback to, if no message with the above key is found.- See Also:
-
-
Constructor Details
-
DataAccessExceptionHandler
public DataAccessExceptionHandler()
-
-
Method Details
-
buildAndLogErrorMessage
This class just builds and logs the error message for a given exception without throwing another exception.- Parameters:
e
- corresponding data access exception.- Returns:
- the error message.
-