Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

gemxpresso R3.2 32k - PCSCException 0x1f probelm

843851Jun 26 2009 — edited Jul 1 2009
Hi all,

I am new in java card development. I am using gemxpresso r3.2 32k card. I am very badly stuck with this PCSCException 0x1f problem.
I am using SCM @MAXX card reader. I am getting this exception when i am trying to throw an exception (short)0x5102. the code snippet is given below.

*if(hasRemainingChunks()==true) { *
*
ISOException.throwIt((short)0x5102); *
*}*
*else {*
*
ISOException.throwIt((short)0x9997); *
*}*

if i changed 0x5102 to 0x9999 in my applet then it works fine.. It is throwing the exception correctly. But if i again changed it to 0x5102, it gives me PCSCException 0x1f.

Please help me out.

Thanks in advance,
cyberbandya007
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 29 2009
Added on Jun 26 2009
1 comment
96 views