Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_modules_Connectivity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_modules_Connectivity
Commits
32aa7de4
Commit
32aa7de4
authored
4 years ago
by
Remi NGUYEN VAN
Committed by
Gerrit Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add ParseException constructors to API"
parents
8c1611cf
94e5fff5
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
framework/api/module-lib-current.txt
+5
-0
5 additions, 0 deletions
framework/api/module-lib-current.txt
framework/src/android/net/ParseException.java
+7
-2
7 additions, 2 deletions
framework/src/android/net/ParseException.java
with
12 additions
and
2 deletions
framework/api/module-lib-current.txt
+
5
−
0
View file @
32aa7de4
...
...
@@ -25,6 +25,11 @@ package android.net {
field public static final int TRANSPORT_TEST = 7; // 0x7
}
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;
...
...
This diff is collapsed.
Click to expand it.
framework/src/android/net/ParseException.java
+
7
−
2
View file @
32aa7de4
...
...
@@ -17,6 +17,7 @@
package
android.net
;
import
android.annotation.NonNull
;
import
android.annotation.SystemApi
;
/**
* Thrown when parsing failed.
...
...
@@ -25,12 +26,16 @@ import android.annotation.NonNull;
public
class
ParseException
extends
RuntimeException
{
public
String
response
;
ParseException
(
@NonNull
String
response
)
{
/** @hide */
@SystemApi
(
client
=
SystemApi
.
Client
.
MODULE_LIBRARIES
)
public
ParseException
(
@NonNull
String
response
)
{
super
(
response
);
this
.
response
=
response
;
}
ParseException
(
@NonNull
String
response
,
@NonNull
Throwable
cause
)
{
/** @hide */
@SystemApi
(
client
=
SystemApi
.
Client
.
MODULE_LIBRARIES
)
public
ParseException
(
@NonNull
String
response
,
@NonNull
Throwable
cause
)
{
super
(
response
,
cause
);
this
.
response
=
response
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment