mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-01-24 14:54:03 +08:00
Fix missing throws clause
This commit is contained in:
parent
e690d88fa0
commit
2ab84f3775
@ -24,7 +24,7 @@ public class NativeVelocityCipher implements VelocityCipher {
|
||||
private final boolean encrypt;
|
||||
private boolean disposed = false;
|
||||
|
||||
private NativeVelocityCipher(boolean encrypt, SecretKey key) {
|
||||
private NativeVelocityCipher(boolean encrypt, SecretKey key) throws GeneralSecurityException {
|
||||
this.encrypt = encrypt;
|
||||
this.ctx = impl.init(key.getEncoded());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user