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

Side by Side Diff: components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java

Issue 2283243002: Allow direct executors in cronet. (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
(Empty)
1 // Copyright 2016 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.net;
6
7 import java.util.concurrent.RejectedExecutionException;
8
9 /**
10 * Thrown when an executor runs a submitted runnable inline in {@link
11 * java.util.concurrent.Executor#execute(Runnable)}.
12 */
13 public final class InlineExecutionProhibitedException extends RejectedExecutionE xception {
14 public InlineExecutionProhibitedException() {
15 super("Inline execution is prohibited for this request");
mef 2016/08/30 16:29:44 Is there java / google guide on whether or not exc
Charles 2016/08/30 20:11:05 There's no official guidance, but the java core li
mef 2016/08/31 17:26:52 Acknowledged.
16 }
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698