Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 { | |
|
mef
2016/09/01 15:17:18
nit: Maybe call it DirectExecutionProhibitedExcept
Charles
2016/09/01 16:45:24
I named it this because people encountering this e
| |
| 14 public InlineExecutionProhibitedException() { | |
| 15 super("Inline execution is prohibited for this request"); | |
| 16 } | |
| 17 } | |
| OLD | NEW |