Chromium Code Reviews| Index: components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java |
| diff --git a/components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java b/components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..227737a6e4907e198ea6d049e82f9dba2caa510c |
| --- /dev/null |
| +++ b/components/cronet/android/api/src/org/chromium/net/InlineExecutionProhibitedException.java |
| @@ -0,0 +1,17 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +package org.chromium.net; |
| + |
| +import java.util.concurrent.RejectedExecutionException; |
| + |
| +/** |
| + * Thrown when an executor runs a submitted runnable inline in {@link |
| + * java.util.concurrent.Executor#execute(Runnable)}. |
| + */ |
| +public final class InlineExecutionProhibitedException extends RejectedExecutionException { |
| + public InlineExecutionProhibitedException() { |
| + 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.
|
| + } |
| +} |