Author: mreutegg Date: Thu Jul 17 07:37:31 2014 New Revision: 1611270 URL: http://svn.apache.org/r1611270 Log: OAK-1961: Introduce DocumentStoreException
Fix broken cause chain Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreException.java Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreException.java URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreException.java?rev=1611270&r1=1611269&r2=1611270&view=diff ============================================================================== --- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreException.java (original) +++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentStoreException.java Thu Jul 17 07:37:31 2014 @@ -45,7 +45,7 @@ public class DocumentStoreException exte if (t instanceof DocumentStoreException) { return (DocumentStoreException) t; } else { - return new DocumentStoreException(msg, t.getCause()); + return new DocumentStoreException(msg, t); } } }