Sonar-OrganizationFactory.java

Remove the declaration of thrown exception 'org.onap.aaf.auth.org.OrganizationException', as it cannot be thrown from method's body

Issue-ID: AAF-985
Change-Id: I6c57e9e8ac55ebefe7179244fcc1aef14a1e10f7
Signed-off-by: anushadasari <danush10@in.ibm.com>
diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java
index 4f2ba4f..2ada75d 100644
--- a/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java
+++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/org/OrganizationFactory.java
@@ -142,7 +142,7 @@
         return org;
     }
 
-    public static Organization get(AuthzTrans trans) throws OrganizationException {
+    public static Organization get(AuthzTrans trans){
         String domain = FQI.reverseDomain(trans.user());
         Organization org = orgs.get(domain);
         if (org==null) {