From 204be5a468a29c44c292dc7d8ec929844fb8a2f1 Mon Sep 17 00:00:00 2001 From: chandrasegar Date: Sun, 25 Feb 2024 23:53:07 +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 7e117af..7132c15 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);