summaryrefslogtreecommitdiffstats
path: root/api/current.xml
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2011-01-27 14:47:02 -0800
committerNick Pelly <npelly@google.com>2011-01-27 16:17:14 -0800
commit3fcedf77286a078ebd7ac8c082365bd80703dfdc (patch)
treeb6061a2b9933e2ae120bd96b1e79b6d5d2d264f1 /api/current.xml
parent21d0a173f138563e2eaba286b0eb505f987918a9 (diff)
downloadframeworks_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.xml6
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"