/* attempt to select the MF file */
h = APDUManager.openACLConnection(selectMF, slotNumber,
classSecurityToken);
byte[] res = APDUManager.exchangeAPDU(h, selectDIR);
if (Utils.getShort(res, 0) == FILE_NOT_FOUND) {
throw new ConnectionNotFoundException("DIR is not found");
}
isDIR = true;
} catch (ConnectionNotFoundException ce) {
/* DIR is not found */
try {