OSDN Git Service

API: Make close() throw an IOException.
authorNick Pelly <npelly@google.com>
Thu, 27 Jan 2011 22:47:02 +0000 (14:47 -0800)
committerNick Pelly <npelly@google.com>
Fri, 28 Jan 2011 00:17:14 +0000 (16:17 -0800)
commit3fcedf77286a078ebd7ac8c082365bd80703dfdc
treeb6061a2b9933e2ae120bd96b1e79b6d5d2d264f1
parent21d0a173f138563e2eaba286b0eb505f987918a9
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
api/current.xml
core/java/android/nfc/tech/BasicTagTechnology.java
core/java/android/nfc/tech/IsoDep.java
core/java/android/nfc/tech/TagTechnology.java