Dont throw a runtime exception

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-02-18 14:13:40 +01:00
parent a2e9c53313
commit ef8a49e181

View File

@ -74,7 +74,7 @@ public class SecurityUtils {
} catch (BadPaddingException | IllegalBlockSizeException | KeyStoreException |
CertificateException | UnrecoverableKeyException | IOException
| NoSuchPaddingException | NoSuchAlgorithmException | InvalidKeyException e) {
throw new RuntimeException(e);
return false;
}
}