blob: 45f168e6169d8ee95538f17f0b4b25b355e05fae [file] [log] [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package android.net.http;
import java.util.concurrent.RejectedExecutionException;
/**
* Thrown when an executor runs a submitted runnable inline in {@link
* java.util.concurrent.Executor#execute(Runnable)} and {@link
* UrlRequest.Builder#allowDirectExecutor} was not called.
*/
public final class InlineExecutionProhibitedException extends RejectedExecutionException {
public InlineExecutionProhibitedException() {
super("Inline execution is prohibited for this request");
}
}