/libcore/ojluni/src/main/native/ |
D | SocketInputStream.c | 64 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()
|
D | PlainSocketImpl.c | 243 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 …]
|
D | SocketOutputStream.c | 65 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()
|
D | PlainDatagramSocketImpl.c | 201 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 …]
|
D | io_util.c | 54 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()
|
D | DatagramDispatcher.c | 58 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()
|
D | jni_util.c | 45 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 …]
|
D | FileDescriptor_md.c | 61 JNU_ThrowByName(env, "java/io/SyncFailedException", "sync failed"); in FileDescriptor_sync()
|
D | DatagramChannelImpl.c | 164 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()
|
D | FileInputStream.c | 81 JNU_ThrowByName(env, "java/io/FileInputStream$UseManualSkipException", NULL); in FileInputStream_skip0()
|
D | net_util.h | 43 { if (!(*env)->ExceptionOccurred(env)) JNU_ThrowByName(env, ex, msg) }
|
D | IOUtil.c | 54 JNU_ThrowByName(env, "java/lang/UnsupportedOperationException", NULL); in IOUtil_randomBytes()
|
D | java_util_zip_Inflater.c | 45 JNU_ThrowByName(env, "java/util/zip/DataFormatException", msg)
|
D | jni_util.h | 49 JNU_ThrowByName(JNIEnv *env, const char *name, const char *msg);
|
D | net_util_md.c | 306 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()
|
D | net_util.c | 47 JNU_ThrowByName(env, "java/lang/UnsatisfiedLinkError", in net_JNI_OnLoad()
|
D | Inet6AddressImpl.c | 130 JNU_ThrowByName(env, JNU_JAVANETPKG "UnknownHostException", NULL); in Inet6AddressImpl_getHostByAddr0()
|
D | java_props_md.c | 549 JNU_ThrowByName(env, "java/lang/Error", in GetJavaProperties()
|
D | java_util_zip_ZipFile.c | 364 JNU_ThrowByName(env, in JarFile_getMetaInfEntryNames()
|