From 2ab84f3775e3f4cdefc9332ae210a515b137dbe8 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Mon, 24 Dec 2018 12:19:40 -0500 Subject: [PATCH] Fix missing throws clause --- .../natives/encryption/NativeVelocityCipher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java b/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java index 51f5be745..81e778264 100644 --- a/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java +++ b/native/src/main/java/com/velocitypowered/natives/encryption/NativeVelocityCipher.java @@ -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()); }