script-astra/Android/Sdk/sources/android-35/org/chromium/net/CronetException.java
localadmin 4380f00a78 init
2025-01-20 18:15:20 +03:00

23 lines
825 B
Java

// Copyright 2015 The Chromium Authors
// 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.io.IOException;
/** Base exception passed to {@link UrlRequest.Callback#onFailed UrlRequest.Callback.onFailed()}. */
public abstract class CronetException extends IOException {
/**
* Constructs an exception that is caused by {@code cause}.
*
* @param message explanation of failure.
* @param cause the cause (which is saved for later retrieval by the {@link
* java.io.IOException#getCause getCause()} method). A null value is permitted, and indicates
* that the cause is nonexistent or unknown.
*/
protected CronetException(String message, Throwable cause) {
super(message, cause);
}
}