continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r354173 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
Date Mon, 05 Dec 2005 20:39:05 GMT
Author: evenisse
Date: Mon Dec  5 12:39:00 2005
New Revision: 354173

URL: http://svn.apache.org/viewcvs?rev=354173&view=rev
Log:
Fix compilation errors

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java?rev=354173&r1=354172&r2=354173&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
Mon Dec  5 12:39:00 2005
@@ -338,7 +338,7 @@
     }
 
     private void sendMessage( Project project, Set recipients, String subject, String content,
Map configuration )
-        throws ContinuumException
+        throws NotificationException
     {
         if ( recipients.size() == 0 )
         {
@@ -396,7 +396,7 @@
         }
         catch ( MailSenderException ex )
         {
-            throw new ContinuumException( "Exception while sending message.", ex );
+            throw new NotificationException( "Exception while sending message.", ex );
         }
     }
 
@@ -435,7 +435,7 @@
         }
         catch ( ContinuumStoreException e )
         {
-            throw new ContinuumException( "Unable to obtain project builds", e );
+            throw new NotificationException( "Unable to obtain project builds", e );
         }
         List builds = project.getBuildResults();
 
@@ -448,7 +448,7 @@
 
         if ( currentBuild != null && build.getId() != currentBuild.getId() )
         {
-            throw new ContinuumException( "INTERNAL ERROR: The current build wasn't the first
in the build list. " +
+            throw new NotificationException( "INTERNAL ERROR: The current build wasn't the
first in the build list. " +
                 "Current build: '" + currentBuild.getId() + "', " + "first build: '" + build.getId()
+ "'." );
         }
 



Mime
View raw message