Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: base/android/java/src/org/chromium/base/ThrowUncaughtException.java

Issue 2664373002: android: Add debug url to throw uncaught exception (Closed)
Patch Set: fix missing os_android Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/BUILD.gn ('k') | base/android/throw_uncaught_exception.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 package org.chromium.base;
6
7 import org.chromium.base.annotations.CalledByNative;
8 import org.chromium.base.annotations.MainDex;
9 import org.chromium.base.annotations.SuppressFBWarnings;
10
11 @MainDex
12 @SuppressFBWarnings("NM_CLASS_NOT_EXCEPTION")
13 abstract class ThrowUncaughtException {
14 @CalledByNative
15 private static void post() {
16 ThreadUtils.postOnUiThread(new Runnable() {
17 @Override
18 public void run() {
19 throw new RuntimeException("Intentional exception not caught by JNI");
20 }
21 });
22 }
23 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/android/throw_uncaught_exception.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698