Merge "Set ParseException constructors as public"
This commit is contained in:
@@ -410,6 +410,8 @@ package android.net {
|
||||
}
|
||||
|
||||
public class ParseException extends java.lang.RuntimeException {
|
||||
ctor public ParseException(@NonNull String);
|
||||
ctor public ParseException(@NonNull String, @NonNull Throwable);
|
||||
field public String response;
|
||||
}
|
||||
|
||||
|
||||
@@ -133,11 +133,6 @@ package android.net {
|
||||
method @NonNull public android.net.NetworkRequest.Builder setUids(@Nullable java.util.Set<android.util.Range<java.lang.Integer>>);
|
||||
}
|
||||
|
||||
public class ParseException extends java.lang.RuntimeException {
|
||||
ctor public ParseException(@NonNull String);
|
||||
ctor public ParseException(@NonNull String, @NonNull Throwable);
|
||||
}
|
||||
|
||||
public final class TcpRepairWindow {
|
||||
ctor public TcpRepairWindow(int, int, int, int, int, int);
|
||||
field public final int maxWindow;
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
package android.net;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.SystemApi;
|
||||
|
||||
/**
|
||||
* Thrown when parsing failed.
|
||||
@@ -26,15 +25,11 @@ import android.annotation.SystemApi;
|
||||
public class ParseException extends RuntimeException {
|
||||
public String response;
|
||||
|
||||
/** @hide */
|
||||
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
|
||||
public ParseException(@NonNull String response) {
|
||||
super(response);
|
||||
this.response = response;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
|
||||
public ParseException(@NonNull String response, @NonNull Throwable cause) {
|
||||
super(response, cause);
|
||||
this.response = response;
|
||||
|
||||
Reference in New Issue
Block a user