Page 1 of 1

How to set SW without throwing exception

Posted: Thu Nov 26, 2015 7:13 am
by Joevictor
I wonder to write some code to implement a part of global Platform in my application. I need to send an APDU with its data and set SW to spatial value.
My question is how I can SET THE SW without using IsoException.throwIt(). Does anyone know that?

Re: How to set SW without throwing exception

Posted: Thu Nov 26, 2015 11:48 am
by UNKNwYSHSA
You can use ISOException.throwIt(sw) after you sendBytes() method called.