public abstract class

QuicException

extends NetworkException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ org.chromium.net.CronetException
           ↳ org.chromium.net.NetworkException
             ↳ org.chromium.net.QuicException

Class Overview

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

[Expand]
Inherited Constants
From class org.chromium.net.NetworkException
Protected Constructors
QuicException(String message, Throwable cause)
Constructs an exception that is caused by a QUIC protocol error.
Public Methods
abstract int getQuicDetailedErrorCode()
Returns the QUIC error code, which is a value from QuicErrorCode.
[Expand]
Inherited Methods
From class org.chromium.net.NetworkException
From class java.lang.Throwable
From class java.lang.Object

Protected Constructors

protected QuicException (String message, Throwable cause)

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.

Public Methods

public abstract int getQuicDetailedErrorCode ()

Returns the QUIC error code, which is a value from QuicErrorCode.

Returns
int