felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mccu...@apache.org
Subject svn commit: r1203895 - /felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
Date Fri, 18 Nov 2011 22:59:53 GMT
Author: mcculls
Date: Fri Nov 18 22:59:53 2011
New Revision: 1203895

URL: http://svn.apache.org/viewvc?rev=1203895&view=rev
Log:
FELIX-3222: avoid use of deprecated (since 3.0.x) exception type

Modified:
    felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java

Modified: felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java?rev=1203895&r1=1203894&r2=1203895&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
(original)
+++ felix/trunk/bundleplugin/src/main/java/org/apache/felix/obrplugin/RemoteFileManager.java
Fri Nov 18 22:59:53 2011
@@ -25,7 +25,6 @@ import java.io.FileWriter;
 import java.io.IOException;
 import java.io.Writer;
 
-import org.apache.maven.artifact.manager.WagonConfigurationException;
 import org.apache.maven.artifact.manager.WagonManager;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.plugin.logging.Log;
@@ -36,6 +35,7 @@ import org.apache.maven.wagon.ResourceDo
 import org.apache.maven.wagon.TransferFailedException;
 import org.apache.maven.wagon.UnsupportedProtocolException;
 import org.apache.maven.wagon.Wagon;
+import org.apache.maven.wagon.WagonException;
 import org.apache.maven.wagon.authentication.AuthenticationException;
 import org.apache.maven.wagon.authorization.AuthorizationException;
 import org.apache.maven.wagon.proxy.ProxyInfo;
@@ -121,7 +121,7 @@ public class RemoteFileManager
         {
             throw new MojoExecutionException( "Unsupported protocol: '" + repository.getProtocol()
+ "'", e );
         }
-        catch ( WagonConfigurationException e )
+        catch ( WagonException e )
         {
             throw new MojoExecutionException( "Unable to configure Wagon: '" + repository.getProtocol()
+ "'", e );
         }



Mime
View raw message