summaryrefslogtreecommitdiffstats
path: root/core/jni/android_net_LocalSocketImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/jni/android_net_LocalSocketImpl.cpp')
-rw-r--r--core/jni/android_net_LocalSocketImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/android_net_LocalSocketImpl.cpp b/core/jni/android_net_LocalSocketImpl.cpp
index abd0961..f14b9fa 100644
--- a/core/jni/android_net_LocalSocketImpl.cpp
+++ b/core/jni/android_net_LocalSocketImpl.cpp
@@ -700,7 +700,7 @@ static jint socket_readba (JNIEnv *env, jobject object,
}
if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) {
- jniThrowException(env, "java/lang/ArrayIndexOutOfBounds", NULL);
+ jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", NULL);
return (jint)-1;
}
@@ -767,7 +767,7 @@ static void socket_writeba (JNIEnv *env, jobject object,
}
if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) {
- jniThrowException(env, "java/lang/ArrayIndexOutOfBounds", NULL);
+ jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", NULL);
return;
}