Searched refs:exceptionClass (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/native/
H A DIcuUtilities.cpp56 const char* exceptionClass = "java/lang/RuntimeException"; local
58 exceptionClass = "java/lang/IllegalArgumentException";
60 exceptionClass = "java/lang/ArrayIndexOutOfBoundsException";
62 exceptionClass = "java/lang/UnsupportedOperationException";
64 exceptionClass = "java/lang/ArithmeticException";
66 jniThrowExceptionFmt(env, exceptionClass, "%s failed: %s", function, u_errorName(error));
H A Djava_util_regex_Pattern.cpp65 jclass exceptionClass = JniConstants::patternSyntaxExceptionClass; local
66 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset);
H A Dlibcore_io_Posix.cpp213 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, argument
230 exception = env->NewObject(exceptionClass, ctor3, detailMessage.get(), error, cause);
232 exception = env->NewObject(exceptionClass, ctor2, detailMessage.get(), error);
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java1331 final Class<?> exceptionClass; field in class:JSR166TestCase.RunnableShouldThrow
1333 <T extends Throwable> RunnableShouldThrow(Class<T> exceptionClass) { argument
1334 this.exceptionClass = exceptionClass;
1340 threadShouldThrow(exceptionClass.getSimpleName());
1342 if (! exceptionClass.isInstance(t))
1351 final Class<?> exceptionClass; field in class:JSR166TestCase.ThreadShouldThrow
1353 <T extends Throwable> ThreadShouldThrow(Class<T> exceptionClass) { argument
1354 this.exceptionClass = exceptionClass;
[all...]

Completed in 126 milliseconds