Searched refs:unboxedThrowable (Results 1 – 2 of 2) sorted by relevance
80 jni::local_ref<jni::JThrowable> unboxedThrowable = jniException.getThrowable(); in rethrowAsCodedError() local81 if (unboxedThrowable->isInstanceOf(CodedException::javaClassLocal())) { in rethrowAsCodedError()82 auto codedException = jni::static_ref_cast<CodedException>(unboxedThrowable); in rethrowAsCodedError()
337 jni::local_ref<jni::JThrowable> unboxedThrowable = jniException.getThrowable(); in toAsyncFunction() local338 if (!unboxedThrowable->isInstanceOf(CodedException::javaClassLocal())) { in toAsyncFunction()339 unboxedThrowable = UnexpectedException::create(jniException.what()); in toAsyncFunction()342 auto codedException = jni::static_ref_cast<CodedException>(unboxedThrowable); in toAsyncFunction()