QuicException


public abstract class QuicException
extends NetworkException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ android.net.http.HttpException
           ↳ android.net.http.NetworkException
             ↳ android.net.http.QuicException


Subclass of NetworkException which contains a detailed QUIC error code from QuicErrorCode. An instance of QuicException is passed to onFailed callbacks when the error code is NetworkException.ERROR_QUIC_PROTOCOL_FAILED.

Summary

Inherited constants

Protected constructors

QuicException(String message, Throwable cause)

Constructs an exception that is caused by a QUIC protocol error.

Inherited methods

Protected constructors

QuicException

Added in API level 34
Also in S Extensions 7
protected QuicException (String message, 
                Throwable cause)

Constructs an exception that is caused by a QUIC protocol error.

Parameters
message String: explanation of failure. This value may be null.

cause Throwable: the cause (which is saved for later retrieval by the getCause() method). A null value is permitted, and indicates that the cause is nonexistent or unknown.