Sonar-AAF_Hello.java 64/95964/1
authoranushadasari <danush10@in.ibm.com>
Thu, 19 Sep 2019 04:14:35 +0000 (09:44 +0530)
committeranushadasari <danush10@in.ibm.com>
Thu, 19 Sep 2019 04:15:02 +0000 (09:45 +0530)
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

Issue-ID: AAF-982
Change-Id: I91d81ff24dbbf435f1f064675902beb61fa8fb06
Signed-off-by: anushadasari <danush10@in.ibm.com>
auth/auth-hello/src/main/java/org/onap/aaf/auth/hello/AAF_Hello.java

index ff95709..cd9965c 100644 (file)
@@ -90,7 +90,7 @@ public class AAF_Hello extends AbsService<AuthzEnv,AuthzTrans> {
      * to do Versions and Content switches
      * 
      */
-    public void route(HttpMethods meth, String path, API api, HttpCode<AuthzTrans, AAF_Hello> code) throws Exception {
+    public void route(HttpMethods meth, String path, API api, HttpCode<AuthzTrans, AAF_Hello> code){
         String version = "1.0";
         // Get Correct API Class from Mapper
         route(env,meth,path,code,"text/plain;version="+version,"*/*");