madhanraj / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

An error on JavaDoc of SmartCard API #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem?
The exception description of SEService.openLogicalChannel() is confusing.

If the AID is not available on SE, should IOException or NoSuchElementException 
be thrown?   To my understanding, a NoSuchElementException exception should be 
thrown, but at the end of the description of IOException, the "(e.g. if the AID 
is not available)" confused me.

Original issue reported on code.google.com by danny.w....@gmail.com on 3 Jan 2012 at 10:02

GoogleCodeExporter commented 9 years ago
I would also expect a NoSuchElementException, the text "(e.g. if the AID is not 
available)" should be corrected accordingly

Original comment by Daniel.A...@gi-de.com on 2 Feb 2012 at 10:00

GoogleCodeExporter commented 9 years ago
SCAPI throws NoSuchElementException

JavaDoc corrected in
http://seek-for-android.googlecode.com/svn/trunk/doc/org/simalliance/openmobilea
pi/Session.html

Original comment by Daniel.A...@gi-de.com on 2 Feb 2012 at 1:19

GoogleCodeExporter commented 9 years ago
Session.openBasicChannel() should also be updated.

Original comment by danny.w....@gmail.com on 3 Feb 2012 at 10:28

GoogleCodeExporter commented 9 years ago
Done: 
http://seek-for-android.googlecode.com/svn/trunk/doc/org/simalliance/openmobilea
pi/Session.html#openBasicChannel(byte[])

Original comment by Daniel.A...@gi-de.com on 6 Feb 2012 at 12:28

GoogleCodeExporter commented 9 years ago
setting old issues from fixed to done

Original comment by Daniel.A...@gi-de.com on 5 Jul 2013 at 2:33