From 691a0ab3e96fbe15a640522633e1251ae4d6f28a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 25 Feb 2012 22:11:47 +0000 Subject: [PATCH] fix compilation issue git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293704 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/metadata/repository/RepositorySession.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java index 84ac9fdcd..07be9cc1b 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java @@ -86,7 +86,6 @@ public class RepositorySession * exception occurs. */ public void close() - throws MetadataRepositoryException { try { @@ -98,7 +97,7 @@ public class RepositorySession catch ( MetadataRepositoryException e ) { // olamy use revert here ? - throw e; + throw new RuntimeException( e.getMessage(), e ); } finally { -- 2.39.5