13
0
geforkt von Mirrors/Velocity

Fix missing throws clause

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-12-24 12:19:40 -05:00
Ursprung e690d88fa0
Commit 2ab84f3775

Datei anzeigen

@ -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());
} }