QuicException
abstract class QuicException : 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
.
Summary
Protected constructors |
Constructs an exception that is caused by a QUIC protocol error.
|
Protected constructors
QuicException
protected QuicException(
message: String?,
cause: Throwable?)
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.