Index: base/android/jni_android.h |
diff --git a/base/android/jni_android.h b/base/android/jni_android.h |
index 504eb85707e28283113d67e834bc32867441fdfe..9df904100edcfaea37fda0834eec1ead4d13628a 100644 |
--- a/base/android/jni_android.h |
+++ b/base/android/jni_android.h |
@@ -130,6 +130,10 @@ BASE_EXPORT bool ClearException(JNIEnv* env); |
// This function will call CHECK() macro if there's any pending exception. |
BASE_EXPORT void CheckException(JNIEnv* env); |
+// This returns a string representation of the java stack trace. |
+BASE_EXPORT std::string GetJavaExceptionInfo(JNIEnv* env, |
+ jthrowable java_throwable); |
+ |
} // namespace android |
} // namespace base |