Home
last modified time | relevance | path

Searched refs:JNU_ThrowByName (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/native/
DSocketInputStream.c64 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in SocketInputStream_socketRead0()
73 JNU_ThrowByName(env, "java/net/SocketException", "Socket closed"); in SocketInputStream_socketRead0()
99 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketTimeoutException", in SocketInputStream_socketRead0()
103 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Socket closed"); in SocketInputStream_socketRead0()
109 JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", in SocketInputStream_socketRead0()
127 JNU_ThrowByName(env, "sun/net/ConnectionResetException", in SocketInputStream_socketRead0()
132 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in SocketInputStream_socketRead0()
137 JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", in SocketInputStream_socketRead0()
DSocketOutputStream.c65 JNU_ThrowByName(env, "java/net/SocketException", "Socket closed"); in SocketOutputStream_socketWrite0()
73 JNU_ThrowByName(env, "java/net/SocketException", "Socket closed"); in SocketOutputStream_socketWrite0()
107 JNU_ThrowByName(env, "java/io/InterruptedIOException", 0); in SocketOutputStream_socketWrite0()
110 JNU_ThrowByName(env, "sun/net/ConnectionResetException", in SocketOutputStream_socketWrite0()
Dio_util.c54 JNU_ThrowByName(env, "java/io/InterruptedIOException", NULL); in readSingle()
91 JNU_ThrowByName(env, "java/lang/IndexOutOfBoundsException", NULL); in readBytes()
118 JNU_ThrowByName(env, "java/io/InterruptedIOException", NULL); in readBytes()
148 JNU_ThrowByName(env, "java/io/InterruptedIOException", NULL); in writeSingle()
167 JNU_ThrowByName(env, "java/lang/IndexOutOfBoundsException", NULL); in writeBytes()
202 JNU_ThrowByName(env, "java/io/InterruptedIOException", NULL); in writeBytes()
Djni_util.c45 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg) in JNU_ThrowByName() function
58 JNU_ThrowByName(env, "java/lang/NullPointerException", msg); in JNU_ThrowNullPointerException()
64 JNU_ThrowByName(env, "java/lang/ArrayIndexOutOfBoundsException", msg); in JNU_ThrowArrayIndexOutOfBoundsException()
70 JNU_ThrowByName(env, "java/lang/OutOfMemoryError", msg); in JNU_ThrowOutOfMemoryError()
76 JNU_ThrowByName(env, "java/lang/IllegalArgumentException", msg); in JNU_ThrowIllegalArgumentException()
82 JNU_ThrowByName(env, "java/lang/IllegalAccessError", msg); in JNU_ThrowIllegalAccessError()
88 JNU_ThrowByName(env, "java/lang/IllegalAccessException", msg); in JNU_ThrowIllegalAccessException()
94 JNU_ThrowByName(env, "java/lang/InternalError", msg); in JNU_ThrowInternalError()
100 JNU_ThrowByName(env, "java/lang/NoSuchFieldException", msg); in JNU_ThrowNoSuchFieldException()
106 JNU_ThrowByName(env, "java/lang/NoSuchMethodException", msg); in JNU_ThrowNoSuchMethodException()
[all …]
DDatagramDispatcher.c58 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", 0); in Java_sun_nio_ch_DatagramDispatcher_read0()
91 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", 0); in Java_sun_nio_ch_DatagramDispatcher_readv0()
105 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", 0); in Java_sun_nio_ch_DatagramDispatcher_write0()
136 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", 0); in Java_sun_nio_ch_DatagramDispatcher_writev0()
DFileDescriptor_md.c61 JNU_ThrowByName(env, "java/io/SyncFailedException", "sync failed"); in FileDescriptor_sync()
DDatagramChannelImpl.c184 JNU_ThrowByName(env, JNU_JAVANETPKG in Java_sun_nio_ch_DatagramChannelImpl_receive0()
271 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", 0); in Java_sun_nio_ch_DatagramChannelImpl_send0()
DFileInputStream.c86 JNU_ThrowByName(env, "java/io/FileInputStream$UseManualSkipException", NULL); in FileInputStream_skip0()
Dnet_util.c47 JNU_ThrowByName(env, "java/lang/UnsatisfiedLinkError", in net_JNI_OnLoad()
277 JNU_ThrowByName(env, "java/net/SocketException", errmsg); in NET_SockaddrToInetAddress()
Dnet_util.h43 { if (!(*env)->ExceptionOccurred(env)) JNU_ThrowByName(env, ex, msg); }
DIOUtil.c57 JNU_ThrowByName(env, "java/lang/UnsupportedOperationException", NULL); in IOUtil_randomBytes()
DInflater.c45 JNU_ThrowByName(env, "java/util/zip/DataFormatException", msg)
Dnet_util_md.c292 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", fullMsg); in NET_ThrowNew()
295 JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", msg); in NET_ThrowNew()
813 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Protocol family unavailable"); in NET_InetAddressToSockaddr()
Djni_util.h49 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg);
DZipFile.c362 JNU_ThrowByName(env, in JarFile_getMetaInfEntryNames()