Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcre:7.6.1_programmatic_abortion

7.6.1 Programmatic Abortion

If an applet encounters an internal problem or decides to cancel the transaction, it can programmatically undo conditional updates by calling JCSystem.abortTransaction. If this method is called, all conditionally updated fields and array components since the previous call to JCSystem.beginTransaction are restored to their previous values, and the JCSystem.transactionDepth value is reset to 0.

javacard/jcre/7.6.1_programmatic_abortion.txt · Last modified: 2017/05/13 04:07 (external edit)