Removed jniRandomBytes and tidied up exceptions