Searched refs:exceptionClass (Results 1 – 5 of 5) sorted by relevance
163 const char* exceptionClass; in throw_sqlite3_exception() local166 exceptionClass = "android/database/sqlite/SQLiteDiskIOException"; in throw_sqlite3_exception()170 exceptionClass = "android/database/sqlite/SQLiteDatabaseCorruptException"; in throw_sqlite3_exception()173 exceptionClass = "android/database/sqlite/SQLiteConstraintException"; in throw_sqlite3_exception()176 exceptionClass = "android/database/sqlite/SQLiteAbortException"; in throw_sqlite3_exception()179 exceptionClass = "android/database/sqlite/SQLiteDoneException"; in throw_sqlite3_exception()183 exceptionClass = "android/database/sqlite/SQLiteFullException"; in throw_sqlite3_exception()186 exceptionClass = "android/database/sqlite/SQLiteMisuseException"; in throw_sqlite3_exception()189 exceptionClass = "android/database/sqlite/SQLiteAccessPermException"; in throw_sqlite3_exception()192 exceptionClass = "android/database/sqlite/SQLiteDatabaseLockedException"; in throw_sqlite3_exception()[all …]
159 private static void assertThrows(Class<? extends Throwable> exceptionClass, in assertThrows() argument164 assertTrue("Expected exception type " + exceptionClass.getName() + " but got " in assertThrows()165 + e.getClass().getName(), exceptionClass.isAssignableFrom(e.getClass())); in assertThrows()168 fail("Expected exception type " + exceptionClass.getName() in assertThrows()
75 jclass exceptionClass = env->FindClass(className); in throwException() local76 env->ThrowNew(exceptionClass, message); in throwException()
510 private static void assertThrows(Class<? extends Exception> exceptionClass, Runnable r) { in assertThrows() argument513 Assert.fail("Expected " + exceptionClass + " to be thrown."); in assertThrows()515 assertThat(exception).isInstanceOf(exceptionClass); in assertThrows()