summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-02-25 22:11:47 +0000
committerOlivier Lamy <olamy@apache.org>2012-02-25 22:11:47 +0000
commit691a0ab3e96fbe15a640522633e1251ae4d6f28a (patch)
treeb226e55233f9852ddabf4f51492b22a465beea8d
parent38aaec51a7be081d9a1e70b50cca8a30aa25d9c6 (diff)
downloadarchiva-691a0ab3e96fbe15a640522633e1251ae4d6f28a.tar.gz
archiva-691a0ab3e96fbe15a640522633e1251ae4d6f28a.zip
fix compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293704 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java3
1 files changed, 1 insertions, 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
{