Fix missing throws clause
This commit is contained in:
@@ -24,7 +24,7 @@ public class NativeVelocityCipher implements VelocityCipher {
|
|||||||
private final boolean encrypt;
|
private final boolean encrypt;
|
||||||
private boolean disposed = false;
|
private boolean disposed = false;
|
||||||
|
|
||||||
private NativeVelocityCipher(boolean encrypt, SecretKey key) {
|
private NativeVelocityCipher(boolean encrypt, SecretKey key) throws GeneralSecurityException {
|
||||||
this.encrypt = encrypt;
|
this.encrypt = encrypt;
|
||||||
this.ctx = impl.init(key.getEncoded());
|
this.ctx = impl.init(key.getEncoded());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user