summaryrefslogtreecommitdiffstats
path: root/cadi
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-08-25 21:18:38 +0530
committeranushadasari <danush10@in.ibm.com>2019-08-25 21:21:21 +0530
commit021b394a49a39dbaf5265cec0d4ebae2a729813b (patch)
tree60ad259f23d4d4c4b97c4a794dd00c5e53954a6f /cadi
parent886cd982dff59ef087b94a3b6eb0e4be37259019 (diff)
Remove the declaration of thrown exception
Remove the declaration of thrown exception 'java.io.IOException','java.security.NoSuchAlgorithmException', 'javax.crypto.NoSuchPaddingException', as it cannot be thrown from constructor's body Change-Id: I0af468d8112fa8ecb3c7626fbbdedf2d375f7601 Issue-ID: AAF-956 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'cadi')
-rw-r--r--cadi/core/src/main/java/org/onap/aaf/cadi/AES.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/AES.java b/cadi/core/src/main/java/org/onap/aaf/cadi/AES.java
index c4f3d504..4ec51682 100644
--- a/cadi/core/src/main/java/org/onap/aaf/cadi/AES.java
+++ b/cadi/core/src/main/java/org/onap/aaf/cadi/AES.java
@@ -63,7 +63,7 @@ public class AES implements Encryption {
return kgen.generateKey();
}
- public AES(byte[] aeskey, int offset, int len) throws IOException, NoSuchAlgorithmException, NoSuchPaddingException {
+ public AES(byte[] aeskey, int offset, int len){
aeskeySpec = new SecretKeySpec(aeskey,offset,len,AES);
}