script-astra/Android/Sdk/sources/android-35/android/net/http/InlineExecutionProhibitedException.java

19 lines
648 B
Java
Raw Normal View History

2025-01-20 15:15:20 +00:00
// 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#setDirectExecutorAllowed} was not called.
*/
public final class InlineExecutionProhibitedException extends RejectedExecutionException {
public InlineExecutionProhibitedException() {
super("Inline execution is prohibited for this request");
}
}