Compare commits

...
1 Commits
Author SHA1 Message Date
Michele Balistreri 0d27ac445c treat malformed response as ioexception 2023-02-22 12:16:44 +01:00
@@ -32,6 +32,8 @@ public class NFCCardChannel implements CardChannel {
return response;
} catch(SecurityException e) {
throw new IOException("Tag disconnected", e);
} catch(IllegalArgumentException e) {
throw new IOException("Malformed card response", e);
}
}