From cc95588325310ca9e3ccb86b14e069fe9f212ef4 Mon Sep 17 00:00:00 2001 From: chandrasegar Date: Sun, 25 Feb 2024 23:30:21 +0530 Subject: [PATCH] custome exception added --- src/main/java/entgra/mailsender/DAO/Impl/MailDAOImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/entgra/mailsender/DAO/Impl/MailDAOImpl.java b/src/main/java/entgra/mailsender/DAO/Impl/MailDAOImpl.java index 7132c15..7e117af 100644 --- a/src/main/java/entgra/mailsender/DAO/Impl/MailDAOImpl.java +++ b/src/main/java/entgra/mailsender/DAO/Impl/MailDAOImpl.java @@ -58,7 +58,7 @@ public class MailDAOImpl implements MailDAO { } } catch (SQLException e) { logger.info(e.getMessage()); - throw new SQLException("error processing sql !!", e); + throw new SQLException("error processing sql", e); } catch (IOException e) { logger.info(e.getMessage()); throw new MailProcessingException("Error processing mailModel", e);