custome exception added

merge_customException
parent cc95588325
commit 56732afdf2

@ -58,7 +58,7 @@ public class MailDAOImpl implements MailDAO {
} }
} catch (SQLException e) { } catch (SQLException e) {
logger.info(e.getMessage()); logger.info(e.getMessage());
throw new SQLException("error processing sql", e); throw new SQLException("error processing sql !!", e);
} catch (IOException e) { } catch (IOException e) {
logger.info(e.getMessage()); logger.info(e.getMessage());
throw new MailProcessingException("Error processing mailModel", e); throw new MailProcessingException("Error processing mailModel", e);

Loading…
Cancel
Save