IDESFireEV2 throws incorrect exception type

Forum / MIFARE SDK / IDESFireEV2 throws incorrect exception type

  • 12. November 2018 at 13:23
    The documentation for IDESFireEV2 specifies that writeData throws com.nxp.nfclib.exceptions.SecurityException but it actually throws java.lang.SecurityException, which appears to be due to a missing import in the class that implements IDESFireEV2, causing it to default to using the java.lang version of SecurityException instead of nfclib's own exception type. This bug persists as of 1.5 and I was seeing it in 1.3. There may be other places in the codebase where it incorrectly throws java.lang.SecurityException, this is difficult for me to check as the SDK code is obfuscated
    + 0  |  - 0
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.