OSDN Git Service

Use jniThrowException instead of FindClass/ThrowNew.
authorElliott Hughes <enh@google.com>
Thu, 1 Oct 2009 18:20:29 +0000 (11:20 -0700)
committerElliott Hughes <enh@google.com>
Thu, 1 Oct 2009 18:20:29 +0000 (11:20 -0700)
commit76ecf19c339da1f38a0e954ef39d9ff411b15925
treec80a7bb71123af466ec53f2d66a212ee2367f9ce
parent76a477ed7e878fb1193de51ce7caec46b2d1f515
Use jniThrowException instead of FindClass/ThrowNew.

Always use our best-of-breed code for throwing exceptions. The remaining
callers of Throw have good reason, and the only caller of ThrowNew is
now JNIHelp.c (jniThrowException) itself.
libcore/icu/src/main/native/ErrorCode.c
libcore/luni/src/main/native/java_net_InetAddress.cpp
libcore/luni/src/main/native/java_net_NetworkInterface.c
libcore/sql/src/main/native/sqlite_jni.c
libcore/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLServerSocketImpl.cpp
libcore/x-net/src/main/native/org_apache_harmony_xnet_provider_jsse_OpenSSLSocketImpl.cpp
libcore/xml/src/main/native/org_apache_harmony_xml_ExpatParser.cpp