コード例 #1
0
 /** Test RDS return alert */
 @Test
 public void testRDSCoderErrorAlert() {
   try {
     throw new Exception("test RDS coder error");
   } catch (Exception e) {
     service.sendRDSCoderErrorAlert(e);
   }
 }
コード例 #2
0
 /** Test webservice communication alert */
 @Test
 public void testWebserviceCommunicationErrorAlert() {
   try {
     throw new Exception("test webservice communication error error");
   } catch (Exception e) {
     service.sendWebserviceCommunicationErrorAlert(e);
   }
 }
コード例 #3
0
 /** Test COM port error alert */
 @Test
 public void testCOMPortErrorAlert() {
   try {
     throw new Exception("test COM port error");
   } catch (Exception e) {
     service.sendCOMPortErrorAlert(e);
   }
 }