]> source.dussan.org Git - archiva.git/commitdiff
add javadoc
authorOlivier Lamy <olamy@apache.org>
Sun, 17 Feb 2013 23:51:24 +0000 (23:51 +0000)
committerOlivier Lamy <olamy@apache.org>
Sun, 17 Feb 2013 23:51:24 +0000 (23:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447104 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java

index 115c931de6407ffe97479132636345541b712b83..2015ff99cfe293d1db600aaa075ca87d5c4acbd6 100644 (file)
@@ -106,6 +106,10 @@ public class RepositorySession
         }
     }
 
+    /**
+     * ignore RuntimeException when closing repository
+     * @since 1.4-M4
+     */
     public void closeQuietly()
     {
         try
@@ -114,7 +118,7 @@ public class RepositorySession
         }
         catch ( RuntimeException e )
         {
-            log.warn( "ignore Runtime exception while closing: {}", e.getMessage() );
+            log.warn( "ignore Runtime exception while closing: {}", e.getMessage(), e );
         }
     }