From c91b63bb275b8d541309d7e1e8faa4f0bc752630 Mon Sep 17 00:00:00 2001 From: Maciej Wejs Date: Mon, 16 Jul 2018 16:42:20 +0200 Subject: Sonar fixes related to exceptions Fixes in aaf-cadi-aaf module Change-Id: Ie5148f3526d782bd45e0ae9c0423ab8f84187a50 Issue-ID: AAF-396 Signed-off-by: Maciej Wejs --- .../auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'auth/auth-locate/src/main/java/org/onap') diff --git a/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java b/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java index 8371ff14..9f25eab7 100644 --- a/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java +++ b/auth/auth-locate/src/main/java/org/onap/aaf/auth/locate/AAF_Locate.java @@ -191,10 +191,9 @@ public class AAF_Locate extends AbsService { } // utilize pre-constructed DirectAAFLocator return new AAFConHttp(env.access(),dal); - } catch (APIException | LocatorException e) { + } catch (LocatorException e) { throw new CadiException(e); } - } public Locator getGUILocator() throws LocatorException { -- cgit 1.2.3-korg