1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef BASE_ANDROID_THROW_UNCAUGHT_EXCEPTION_H_ 6 #define BASE_ANDROID_THROW_UNCAUGHT_EXCEPTION_H_ 7 8 #include "base/base_export.h" 9 10 namespace base { 11 namespace android { 12 13 // Throw that completely unwinds the java stack. In particular, this will not 14 // trigger a jni CheckException crash. 15 BASE_EXPORT void ThrowUncaughtException(); 16 17 } // namespace android 18 } // namespace base 19 20 #endif // BASE_ANDROID_THROW_UNCAUGHT_EXCEPTION_H_ 21