Home
last modified time | relevance | path

Searched refs:unboxedThrowable (Results 1 – 2 of 2) sorted by relevance

/expo/packages/expo-modules-core/android/src/main/cpp/
H A DExceptions.cpp80 jni::local_ref<jni::JThrowable> unboxedThrowable = jniException.getThrowable(); in rethrowAsCodedError() local
81 if (unboxedThrowable->isInstanceOf(CodedException::javaClassLocal())) { in rethrowAsCodedError()
82 auto codedException = jni::static_ref_cast<CodedException>(unboxedThrowable); in rethrowAsCodedError()
H A DMethodMetadata.cpp337 jni::local_ref<jni::JThrowable> unboxedThrowable = jniException.getThrowable(); in toAsyncFunction() local
338 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()