diff options
author | Nick Pelly <npelly@google.com> | 2011-01-27 14:47:02 -0800 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-01-27 16:17:14 -0800 |
commit | 3fcedf77286a078ebd7ac8c082365bd80703dfdc (patch) | |
tree | b6061a2b9933e2ae120bd96b1e79b6d5d2d264f1 /api/current.xml | |
parent | 21d0a173f138563e2eaba286b0eb505f987918a9 (diff) | |
download | frameworks_base-3fcedf77286a078ebd7ac8c082365bd80703dfdc.zip frameworks_base-3fcedf77286a078ebd7ac8c082365bd80703dfdc.tar.gz frameworks_base-3fcedf77286a078ebd7ac8c082365bd80703dfdc.tar.bz2 |
API: Make close() throw an IOException.
IOException on close() can be useful to indicate that in-progress transactions
were canceled.
I also audited all of our tech classes to make sure every function that needs
to throw IOException does so.
Change-Id: Iaa9c43d79d59ff85772d5c3e4b4d57a6fa8df4cf
Diffstat (limited to 'api/current.xml')
-rw-r--r-- | api/current.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml index f0b0233..ad54650 100644 --- a/api/current.xml +++ b/api/current.xml @@ -101107,6 +101107,8 @@ deprecated="not deprecated" visibility="public" > +<exception name="IOException" type="java.io.IOException"> +</exception> </method> <method name="connect" return="void" @@ -102205,6 +102207,8 @@ deprecated="not deprecated" visibility="public" > +<implements name="java.io.Closeable"> +</implements> <method name="close" return="void" abstract="true" @@ -102215,6 +102219,8 @@ deprecated="not deprecated" visibility="public" > +<exception name="IOException" type="java.io.IOException"> +</exception> </method> <method name="connect" return="void" |