question: public final void dbUnavailable ( final boolean alarmUp , final String exceptionMsg , final String dbInfo ) { if ( alarmUp == FallbackAlarmsInterface . ACTIVATED ) { ArrayList recipients = new ArrayList ( ) ; MailDetailsBean mailDetails = new MailDetailsBean ( ) ; mailDetails . setSender ( "mruizgar@cern.ch" ) ; recipients . add ( "mruizgar@cern.ch" ) ; mailDetails . setToRecipients ( recipients ) ; mailDetails . setSubject ( "DB Unavailable" ) ; mailDetails . setMessage ( "The DB connection to " + dbInfo + "could not be established due to: " + exceptionMsg ) ; mailDetails . setServer ( "cernmx.cern.ch" ) ; SMTPMailSender mailSender = new SMTPMailSender ( ) ; try { mailSender . sendMail ( mailDetails ) ; } catch ( MailSenderException e ) { LOG . debug ( e . getMessage ( ) ) ; } } }
target:  Sends an email warning about the DB problems