Remove declaration thrown from constructor's body. 31/95831/1
authoranushadasari <danush10@in.ibm.com>
Tue, 17 Sep 2019 16:42:43 +0000 (22:12 +0530)
committeranushadasari <danush10@in.ibm.com>
Tue, 17 Sep 2019 16:43:45 +0000 (22:13 +0530)
Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException', as it cannot be thrown from constructor's body.

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

index e4ddc2b..3d226f7 100644 (file)
@@ -45,7 +45,7 @@ public class Delg extends BaseCmd<User> {
     static final String AUTHZ_DELG = "/authz/delegate";
     private static final String[] options = {"add","upd","del"};
 
-    public Delg(User user) throws APIException {
+    public Delg(User user){
         super(user,"delegate",
                 new Param(optionsToString(options),true),
                 new Param("from",true),