blob: 68627cc20f8a951988347832af769ec3ba1376aa [file] [log] [blame]
boliu7a81c2522017-02-03 03:41:041// 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#include "base/android/throw_uncaught_exception.h"
6
7#include "base/android/jni_android.h"
8
9#include "jni/ThrowUncaughtException_jni.h"
10
11namespace base {
12namespace android {
13
14void ThrowUncaughtException() {
15 Java_ThrowUncaughtException_post(AttachCurrentThread());
16}
17
18} // namespace android
19} // namespace base