custome exception added

customException
parent ebf0c8a064
commit 0f5833ae4f

@ -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);

Loading…
Cancel
Save