commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1022905 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
Date Fri, 15 Oct 2010 13:13:27 GMT
Author: sebb
Date: Fri Oct 15 13:13:27 2010
New Revision: 1022905

URL: http://svn.apache.org/viewvc?rev=1022905&view=rev
Log:
Oops - don't rewrap PIE

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java?rev=1022905&r1=1022904&r2=1022905&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/DefaultFTPFileEntryParserFactory.java
Fri Oct 15 13:13:27 2010
@@ -148,6 +148,10 @@ public class DefaultFTPFileEntryParserFa
         {
             throw new ParserInitializationException("Error initializing parser", e);
         }
+        catch (ParserInitializationException e) // Don't rewrap exception
+        {
+            throw e;
+        }
         catch (Throwable e)
         {
             throw new ParserInitializationException("Error initializing parser", e);



Mime
View raw message