| java.lang.Object | ||||||
| ↳ | java.lang.Throwable | |||||
| ↳ | java.lang.Exception | |||||
| ↳ | java.io.IOException | |||||
| ↳ | org.chromium.net.CronetException | |||||
| ↳ | org.chromium.net.NetworkException | |||||
| ↳ | org.chromium.net.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.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an exception that is caused by a QUIC protocol error.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the QUIC error code, which is a value
from
QuicErrorCode.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
|
| |||||||||||
Constructs an exception that is caused by a QUIC protocol error.
| Parameters | |
|---|---|
message |
String: explanation of failure. |
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.
|
Returns the QUIC error code, which is a value from QuicErrorCode.
| Returns | |
|---|---|
int |
|