diff --git a/api/current.xml b/api/current.xml index 5883381806858..6631b85c4c38d 100644 --- a/api/current.xml +++ b/api/current.xml @@ -101070,6 +101070,33 @@ > + + + + + + + + @@ -101184,6 +101211,19 @@ visibility="public" > + + + + - - - - + + + + This requires a that the tag be connected. */ - public boolean authenticateBlock(int block, byte[] key, boolean keyA) throws TagLostException { + public boolean authenticateBlock(int block, byte[] key, boolean keyA) throws IOException { checkConnected(); byte[] cmd = new byte[12]; @@ -287,7 +287,7 @@ public final class MifareClassic extends BasicTagTechnology { * Authenticate for a given sector. *

This requires a that the tag be connected. */ - public boolean authenticateSector(int sector, byte[] key, boolean keyA) throws TagLostException { + public boolean authenticateSector(int sector, byte[] key, boolean keyA) throws IOException { checkConnected(); byte addr = (byte) ((firstBlockInSector(sector)) & 0xff);