| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.net; | 5 package org.chromium.net; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * Subclass of {@link NetworkException} which contains a detailed | 8 * Subclass of {@link NetworkException} which contains a detailed |
| 9 * <a href="https://www.chromium.org/quic">QUIC</a> error code from <a | 9 * <a href="https://www.chromium.org/quic">QUIC</a> error code from <a |
| 10 * href=https://cs.chromium.org/chromium/src/net/quic/quic_protocol.h?type=cs&q=
%22enum+QuicErrorCode+%7B%22+file:src/net/quic/quic_protocol.h> | 10 * href=https://cs.chromium.org/chromium/src/net/quic/quic_protocol.h?type=cs&q=
%22enum+QuicErrorCode+%7B%22+file:src/net/quic/quic_protocol.h> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * java.io.IOException#getCause getCause()} method). A null value is
permitted, and | 21 * java.io.IOException#getCause getCause()} method). A null value is
permitted, and |
| 22 * indicates that the cause is nonexistent or unknown. | 22 * indicates that the cause is nonexistent or unknown. |
| 23 */ | 23 */ |
| 24 protected QuicException(String message, Throwable cause) { | 24 protected QuicException(String message, Throwable cause) { |
| 25 super(message, cause); | 25 super(message, cause); |
| 26 } | 26 } |
| 27 | 27 |
| 28 /** | 28 /** |
| 29 * Returns the <a href="https://www.chromium.org/quic">QUIC</a> error code,
which is a value | 29 * Returns the <a href="https://www.chromium.org/quic">QUIC</a> error code,
which is a value |
| 30 * from <a | 30 * from <a |
| 31 * href=https://cs.chromium.org/chromium/src/net/quic/quic_protocol.h?type=c
s&q=%22enum+QuicErrorCode+%7B%22+file:src/net/quic/quic_protocol.h> | 31 * href=https://cs.chromium.org/chromium/src/net/quic/core/quic_error_codes.
h?type=cs&q=%22enum+QuicErrorCode+%7B%22> |
| 32 * QuicErrorCode</a>. | 32 * QuicErrorCode</a>. |
| 33 */ | 33 */ |
| 34 public abstract int getQuicDetailedErrorCode(); | 34 public abstract int getQuicDetailedErrorCode(); |
| 35 } | 35 } |
| OLD | NEW |