Home
last modified time | relevance | path

Searched refs:jniThrowException (Results 1 – 4 of 4) sorted by relevance

/external/conscrypt/src/compat/native/
DJNIHelp.cpp92 extern "C" int jniThrowException(C_JNIEnv* c_env, const char* className, const char* msg) { in jniThrowException() function
115 return jniThrowException(env, className, msgBuf); in jniThrowExceptionFmt()
119 return jniThrowException(env, "java/lang/NullPointerException", msg); in jniThrowNullPointerException()
123 return jniThrowException(env, "java/lang/RuntimeException", msg); in jniThrowRuntimeException()
129 return jniThrowException(env, "java/io/IOException", message); in jniThrowIOException()
DJNIHelp.h61 int jniThrowException(C_JNIEnv* env, const char* className, const char* msg);
126 inline int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() function
127 return jniThrowException(&env->functions, className, msg); in jniThrowException()
DNetFd.h34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed"); in isClosed()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp458 return jniThrowException(env, "java/lang/OutOfMemoryError", message); in jniThrowOutOfMemory()
466 return jniThrowException(env, "javax/crypto/BadPaddingException", message); in throwBadPaddingException()
474 return jniThrowException(env, "java/security/SignatureException", message); in throwSignatureException()
482 return jniThrowException(env, "java/security/InvalidKeyException", message); in throwInvalidKeyException()
490 return jniThrowException(env, "javax/crypto/IllegalBlockSizeException", message); in throwIllegalBlockSizeException()
498 return jniThrowException(env, "java/security/NoSuchAlgorithmException", message); in throwNoSuchAlgorithmException()
506 return jniThrowException( in throwParsingException()
723 return jniThrowException(env, "java/net/SocketTimeoutException", message); in throwSocketTimeoutException()
731 return jniThrowException(env, "javax/net/ssl/SSLHandshakeException", message); in throwSSLHandshakeExceptionStr()
739 return jniThrowException(env, "javax/net/ssl/SSLException", message); in throwSSLExceptionStr()
[all …]