|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ReaderException in com.acs.smartcard |
---|
Subclasses of ReaderException in com.acs.smartcard | |
---|---|
class |
BufferOverflowException
Thrown when a method is invoked with a buffer which is too large to handle. |
class |
CommunicationErrorException
Thrown when there is an error occurred in reader communication. |
class |
DevicePowerFailureException
Thrown when there is a power failure on the reader. |
class |
DeviceProtocolErrorException
Thrown when there is a protocol error occurred in card communication. |
class |
InsufficientBufferException
Thrown when a method is invoked with a buffer which is too small for the returned data. |
class |
InternalErrorException
Thrown when there is a internal error occurred in the library. |
class |
InvalidDeviceStateException
Thrown when the state of reader is invalid. |
class |
ProtocolMismatchException
Thrown when the requested protocols are incompatible with the protocol currently in use with the card. |
class |
RemovedCardException
Thrown when a program attempts to access a card which is removed. |
class |
UnpoweredCardException
Thrown when a program attempts to access a card which is not powered. |
class |
UnresponsiveCardException
Thrown when a program attempts to access a card which is not responding to a reset. |
class |
UnsupportedCardException
Thrown when a program attempts to access a card which is not supported. |
Methods in com.acs.smartcard that throw ReaderException | |
---|---|
int |
Reader.control(int slotNum,
int controlCode,
byte[] inBuffer,
int inBufferLength,
byte[] outBuffer,
int outBufferLength)
Controls the reader. |
byte[] |
Reader.power(int slotNum,
int action)
Performs the power action on the card. |
int |
Reader.setProtocol(int slotNum,
int preferredProtocols)
Sets the protocol. |
int |
Reader.transmit(int slotNum,
byte[] sendBuffer,
int sendBufferLength,
byte[] recvBuffer,
int recvBufferLength)
Transmits the APDU. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |