/[projects]/dao/DaoAdresseService/src/main/java/dk/daoas/daoadresseservice/DataLoader.java
ViewVC logotype

Diff of /dao/DaoAdresseService/src/main/java/dk/daoas/daoadresseservice/DataLoader.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2832 by torben, Thu Nov 5 08:06:00 2015 UTC revision 2833 by torben, Tue Jan 19 17:34:59 2016 UTC
# Line 5  import java.util.Properties; Line 5  import java.util.Properties;
5  import java.util.logging.Logger;  import java.util.logging.Logger;
6    
7  import javax.mail.Message;  import javax.mail.Message;
8    import javax.mail.MessagingException;
9  import javax.mail.Session;  import javax.mail.Session;
10  import javax.mail.Transport;  import javax.mail.Transport;
11  import javax.mail.internet.InternetAddress;  import javax.mail.internet.InternetAddress;
# Line 136  public class DataLoader { Line 137  public class DataLoader {
137                                          msg.setText(body);                                          msg.setText(body);
138                                                                                    
139                                          Transport.send(msg);                                          Transport.send(msg);
140                          } catch (Exception e) {                          } catch (MessagingException e) {
141                                  logger.warning("Unable to send CircuitBreaker notification mail " + e );                                  logger.warning("Unable to send CircuitBreaker notification mail " + e );
142                          }                          }
143                  }                  }

Legend:
Removed from v.2832  
changed lines
  Added in v.2833

  ViewVC Help
Powered by ViewVC 1.1.20