From bffd5ae70e9f70d0633f89243216709c113eebcb Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 22 Feb 2013 16:05:39 +0000 Subject: [PATCH] fix chaining of user manager git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1449093 13f79535-47bb-0310-9956-ffa450edef68 --- .../web/security/ArchivaConfigurableUsersManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java index 3af683190..973c2c48b 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/java/org/apache/archiva/web/security/ArchivaConfigurableUsersManager.java @@ -209,7 +209,7 @@ public class ArchivaConfigurableUsersManager } } - UserManagerException lastException = null; + Exception lastException = null; for ( UserManager userManager : userManagerPerId.values() ) { try @@ -228,7 +228,7 @@ public class ArchivaConfigurableUsersManager { lastException = e; } - catch ( UserManagerException e ) + catch ( Exception e ) { lastException = e; } @@ -238,7 +238,7 @@ public class ArchivaConfigurableUsersManager { if ( lastException != null ) { - throw lastException; + throw new UserManagerException( lastException.getMessage(), lastException ); } } -- 2.39.5