diff --git a/src/java/com/wolfssl/WolfSSL.java b/src/java/com/wolfssl/WolfSSL.java index 823daacd..bbe05e95 100644 --- a/src/java/com/wolfssl/WolfSSL.java +++ b/src/java/com/wolfssl/WolfSSL.java @@ -725,6 +725,9 @@ public static void loadLibraryAbsolute(String libPath) * @param file File to read into byte array * * @return byte array representing input File, or null if file is null + * + * @throws FileNotFoundException if file is not found + * @throws IOException if unable to read entire file */ protected static byte[] fileToBytes(File file) throws FileNotFoundException, IOException {