cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [1/5] cassandra git commit: Add file path to CorruptSSTableException message
Date Wed, 18 Nov 2015 12:55:04 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk aff6994c8 -> fa25b0a91


Add file path to CorruptSSTableException message

patch by Jeremiah D Jordan; reviewed by Aleksey Yeschenko for
CASSANDRA-10582


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/5a665b80
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/5a665b80
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/5a665b80

Branch: refs/heads/trunk
Commit: 5a665b805ea8755112a5f1d0d81e8cbc41915eb0
Parents: 8385bb6
Author: Jeremiah D Jordan <jeremiah@datastax.com>
Authored: Wed Nov 11 14:30:11 2015 -0600
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Wed Nov 18 12:45:45 2015 +0000

----------------------------------------------------------------------
 .../org/apache/cassandra/io/sstable/CorruptSSTableException.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/5a665b80/src/java/org/apache/cassandra/io/sstable/CorruptSSTableException.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/io/sstable/CorruptSSTableException.java b/src/java/org/apache/cassandra/io/sstable/CorruptSSTableException.java
index a71daaf..0fe316d 100644
--- a/src/java/org/apache/cassandra/io/sstable/CorruptSSTableException.java
+++ b/src/java/org/apache/cassandra/io/sstable/CorruptSSTableException.java
@@ -25,7 +25,7 @@ public class CorruptSSTableException extends RuntimeException
 
     public CorruptSSTableException(Exception cause, File path)
     {
-        super(cause);
+        super("Corrupted: " + path, cause);
         this.path = path;
     }
 


Mime
View raw message