Class DataAccessExceptionHandler

    • Field Detail

      • DEFAULT_EXCEPTION_MESSAGE_TEXT

        public static final String DEFAULT_EXCEPTION_MESSAGE_TEXT
        Default text message to rollback to, if no message with the above key is found.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataAccessExceptionHandler

        public DataAccessExceptionHandler()
    • Method Detail

      • buildAndLogErrorMessage

        public static String buildAndLogErrorMessage​(AppDataAccessException e)
        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.