public abstract class
QuicException
extends NetworkException
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.
Inherited Constant Summary
Protected Constructor Summary
|
QuicException(String message, Throwable cause)
Constructs an exception that is caused by a QUIC protocol error.
|
Public Method Summary
| abstract int |
getQuicDetailedErrorCode()
Returns the QUIC error code, which is a value
from
QuicErrorCode.
|
Inherited Method Summary
Protected Constructors
protected QuicException (String message, Throwable cause)
Constructs an exception that is caused by a QUIC protocol error.
Parameters
| message | explanation of failure. |
|---|---|
| cause | 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.
|
Public Methods
public abstract int getQuicDetailedErrorCode ()
Returns the QUIC error code, which is a value from QuicErrorCode.