mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r1166834 - /mahout/trunk/integration/src/main/java/org/apache/mahout/text/SequenceFilesFromMailArchives.java
Date Thu, 08 Sep 2011 18:18:45 GMT
Author: gsingers
Date: Thu Sep  8 18:18:45 2011
New Revision: 1166834

URL: http://svn.apache.org/viewvc?rev=1166834&view=rev
Log:
provide more info about the file that failed

Modified:
    mahout/trunk/integration/src/main/java/org/apache/mahout/text/SequenceFilesFromMailArchives.java

Modified: mahout/trunk/integration/src/main/java/org/apache/mahout/text/SequenceFilesFromMailArchives.java
URL: http://svn.apache.org/viewvc/mahout/trunk/integration/src/main/java/org/apache/mahout/text/SequenceFilesFromMailArchives.java?rev=1166834&r1=1166833&r2=1166834&view=diff
==============================================================================
--- mahout/trunk/integration/src/main/java/org/apache/mahout/text/SequenceFilesFromMailArchives.java
(original)
+++ mahout/trunk/integration/src/main/java/org/apache/mahout/text/SequenceFilesFromMailArchives.java
Thu Sep  8 18:18:45 2011
@@ -159,7 +159,7 @@ public final class SequenceFilesFromMail
         try {
           parseFileLineByLine(current);
         } catch (IOException e) {
-          throw new IllegalStateException(e);
+          throw new IllegalStateException("Error processing " + current, e);
         }
       }
       return false;



Mime
View raw message