public class RuntimeExceptionApplet extends BaseApplet
Supported APDUs:
CLA=1 INS=0 Throw CryptoException with reason code from P1 as high order byte and P2 as low order byteCLA=1 INS=1 CryptoException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=2 INS=0 Throw APDUException with reason code from P1 as high order byte and P2 as low order byteCLA=2 INS=1 APDUException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=3 INS=0 Throw SystemException with reason code from P1 as high order byte and P2 as low order byteCLA=3 INS=1 SystemException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=4 INS=0 Throw ServiceException with reason code from P1 as high order byte and P2 as low order byteCLA=4 INS=1 ServiceException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=5 INS=0 Throw BioException with reason code from P1 as high order byte and P2 as low order byteCLA=5 INS=1 BioException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=6 INS=0 Throw Bio1toNException with reason code from P1 as high order byte and P2 as low order byteCLA=6 INS=1 Bio1toNException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=7 INS=0 Throw ExternalException with reason code from P1 as high order byte and P2 as low order byteCLA=7 INS=1 ExternalException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=8 INS=0 Throw PINException with reason code from P1 as high order byte and P2 as low order byteCLA=8 INS=1 PINException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=9 INS=0 Throw StringException with reason code from P1 as high order byte and P2 as low order byteCLA=9 INS=1 StringException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=10 INS=0 Throw TLVException with reason code from P1 as high order byte and P2 as low order byteCLA=10 INS=1 TLVException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=11 INS=0 Throw TransactionException with reason code from P1 as high order byte and P2 as low order byteCLA=11 INS=1 TransactionException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED insteadCLA=12 INS=0 Throw UtilException with reason code from P1 as high order byte and P2 as low order byteCLA=12 INS=1 UtilException with reason code from P1 as high order byte and P2 as low order byte is thrown but it has catch exception then throw ISO7816.SW_FUNC_NOT_SUPPORTED instead| Modifier | Constructor and Description |
|---|---|
protected |
RuntimeExceptionApplet() |
| Modifier and Type | Method and Description |
|---|---|
static void |
install(byte[] bArray,
short bOffset,
byte bLength) |
void |
process(javacard.framework.APDU apdu) |
public static void install(byte[] bArray,
short bOffset,
byte bLength)
throws javacard.framework.ISOException
javacard.framework.ISOExceptionpublic void process(javacard.framework.APDU apdu)
throws javacard.framework.ISOException
process in class javacard.framework.Appletjavacard.framework.ISOException