Searched refs:exceptionClass (Results 1 - 4 of 4) sorted by relevance
/libcore/luni/src/main/native/ |
H A D | IcuUtilities.cpp | 56 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 D | java_util_regex_Pattern.cpp | 65 jclass exceptionClass = JniConstants::patternSyntaxExceptionClass; local 66 jobject exception = env->NewObject(exceptionClass, method, message, pattern, error.offset);
|
H A D | libcore_io_Posix.cpp | 213 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 D | JSR166TestCase.java | 1331 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 59 milliseconds