Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Side by Side Diff: components/cronet/android/api/src/org/chromium/net/CronetException.java

Issue 1849753002: [Cronet] Separate Cronet implementation and API by package name. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 * Exception reported from UrlRequest or BidirectionalStream. 8 * Exception reported from UrlRequest or BidirectionalStream.
9 */ 9 */
10 // TODO(mef): Will replace UrlRequestException soon. 10 // TODO(mef): Will replace UrlRequestException soon.
11 public class CronetException extends UrlRequestException { 11 public class CronetException extends UrlRequestException {
12 CronetException(String message, Throwable cause) { 12 /**
13 * @hide only used by internal implementation.
14 */
15 public CronetException(String message, Throwable cause) {
13 super(message, cause); 16 super(message, cause);
14 } 17 }
15 18
16 CronetException(String message, int errorCode, int cronetInternalErrorCode) { 19 /**
20 * @hide only used by internal implementation.
21 */
22 public CronetException(String message, int errorCode, int cronetInternalErro rCode) {
17 super(message, errorCode, cronetInternalErrorCode); 23 super(message, errorCode, cronetInternalErrorCode);
18 } 24 }
19 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698