Home
last modified time | relevance | path

Searched refs:JNU_ThrowByName (Results 1 – 19 of 19) 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()
DPlainSocketImpl.c243 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Socket closed"); in PlainSocketImpl_socketConnect()
400 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketTimeoutException", in PlainSocketImpl_socketConnect()
447 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainSocketImpl_socketConnect()
453 JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", in PlainSocketImpl_socketConnect()
473 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainSocketImpl_socketConnect()
524 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainSocketImpl_socketBind()
588 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainSocketImpl_socketListen()
640 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainSocketImpl_socketAccept()
677 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketTimeoutException", in PlainSocketImpl_socketAccept()
682 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Socket closed"); in PlainSocketImpl_socketAccept()
[all …]
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()
DPlainDatagramSocketImpl.c201 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainDatagramSocketImpl_bind0()
267 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainDatagramSocketImpl_connect0()
386 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", in PlainDatagramSocketImpl_send()
474 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", in PlainDatagramSocketImpl_send()
482 JNU_ThrowByName(env, "java/io/InterruptedIOException", in PlainDatagramSocketImpl_send()
514 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Socket closed"); in PlainDatagramSocketImpl_peek()
525 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketTimeoutException", in PlainDatagramSocketImpl_peek()
530 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Socket closed"); in PlainDatagramSocketImpl_peek()
536 JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", in PlainDatagramSocketImpl_peek()
556 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", in PlainDatagramSocketImpl_peek()
[all …]
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()
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()
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 …]
DFileDescriptor_md.c61 JNU_ThrowByName(env, "java/io/SyncFailedException", "sync failed"); in FileDescriptor_sync()
DDatagramChannelImpl.c164 JNU_ThrowByName(env, JNU_JAVANETPKG in Java_sun_nio_ch_DatagramChannelImpl_receive0()
253 JNU_ThrowByName(env, JNU_JAVANETPKG "PortUnreachableException", 0); in Java_sun_nio_ch_DatagramChannelImpl_send0()
DFileInputStream.c81 JNU_ThrowByName(env, "java/io/FileInputStream$UseManualSkipException", NULL); in FileInputStream_skip0()
Dnet_util.h43 { if (!(*env)->ExceptionOccurred(env)) JNU_ThrowByName(env, ex, msg) }
DIOUtil.c54 JNU_ThrowByName(env, "java/lang/UnsupportedOperationException", NULL); in IOUtil_randomBytes()
Djava_util_zip_Inflater.c45 JNU_ThrowByName(env, "java/util/zip/DataFormatException", msg)
Djni_util.h49 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg);
Dnet_util_md.c306 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", fullMsg); in NET_ThrowNew()
309 JNU_ThrowByName(env, JNU_JAVAIOPKG "InterruptedIOException", msg); in NET_ThrowNew()
827 JNU_ThrowByName(env, JNU_JAVANETPKG "SocketException", "Protocol family unavailable"); in NET_InetAddressToSockaddr()
Dnet_util.c47 JNU_ThrowByName(env, "java/lang/UnsatisfiedLinkError", in net_JNI_OnLoad()
DInet6AddressImpl.c130 JNU_ThrowByName(env, JNU_JAVANETPKG "UnknownHostException", NULL); in Inet6AddressImpl_getHostByAddr0()
Djava_props_md.c549 JNU_ThrowByName(env, "java/lang/Error", in GetJavaProperties()
Djava_util_zip_ZipFile.c364 JNU_ThrowByName(env, in JarFile_getMetaInfEntryNames()