Uses of Class
javax.smartcardio.CardException

Packages that use CardException
Package
Description
Java™ Smart Card I/O API.
  • Uses of CardException in javax.smartcardio

    Modifier and Type
    Class
    Description
    class 
    Exception thrown when an application tries to establish a connection with a terminal that has no card present.
    Methods in javax.smartcardio that throw CardException
    Modifier and Type
    Method
    Description
    abstract void
    Requests exclusive access to this card.
    abstract void
    CardChannel.close()
    Closes this CardChannel.
    abstract Card
    CardTerminal.connect(String protocol)
    Establishes a connection to the card.
    abstract void
    Card.disconnect(boolean reset)
    Disconnects the connection with this card.
    abstract void
    Releases the exclusive access previously established using beginExclusive.
    abstract boolean
    CardTerminal.isCardPresent()
    Returns whether a card is present in this terminal.
    CardTerminals.list()
    Returns an unmodifiable list of all available terminals.
    abstract List<CardTerminal>
    CardTerminals.list(CardTerminals.State state)
    Returns an unmodifiable list of all terminals matching the specified state.
    abstract CardChannel
    Opens a new logical channel to the card and returns it.
    abstract int
    CardChannel.transmit(ByteBuffer command, ByteBuffer response)
    Transmits the command APDU stored in the command ByteBuffer and receives the response APDU in the response ByteBuffer.
    abstract ResponseAPDU
    CardChannel.transmit(CommandAPDU command)
    Transmits the specified command APDU to the Smart Card and returns the response APDU.
    abstract byte[]
    Card.transmitControlCommand(int controlCode, byte[] command)
    Transmits a control command to the terminal device.
    abstract boolean
    CardTerminal.waitForCardAbsent(long timeout)
    Waits until a card is absent in this terminal or the timeout expires.
    abstract boolean
    CardTerminal.waitForCardPresent(long timeout)
    Waits until a card is present in this terminal or the timeout expires.
    void
    CardTerminals.waitForChange()
    Waits for card insertion or removal in any of the terminals of this object.
    abstract boolean
    CardTerminals.waitForChange(long timeout)
    Waits for card insertion or removal in any of the terminals of this object or until the timeout expires.