com.acs.smartcard
Class CommunicationErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.acs.smartcard.ReaderException
              extended by com.acs.smartcard.CommunicationErrorException
All Implemented Interfaces:
java.io.Serializable

public class CommunicationErrorException
extends ReaderException

Thrown when there is an error occurred in reader communication.

See Also:
Serialized Form

Constructor Summary
CommunicationErrorException()
           
CommunicationErrorException(java.lang.String detailMessage)
           
CommunicationErrorException(java.lang.String detailMessage, java.lang.Throwable throwable)
           
CommunicationErrorException(java.lang.Throwable throwable)
           
 
Method Summary
 byte getCcidErrorCode()
          Gets the CCID error code.
 boolean isCcidError()
          Returns true if it is CCID error.
 void setCcidError(boolean error)
          Sets CCID error.
 void setCcidErrorCode(byte errorCode)
          Sets the CCID error code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommunicationErrorException

public CommunicationErrorException()

CommunicationErrorException

public CommunicationErrorException(java.lang.String detailMessage)

CommunicationErrorException

public CommunicationErrorException(java.lang.Throwable throwable)

CommunicationErrorException

public CommunicationErrorException(java.lang.String detailMessage,
                                   java.lang.Throwable throwable)
Method Detail

isCcidError

public boolean isCcidError()
Returns true if it is CCID error.

Returns:
true or false.
Since:
1.1

setCcidError

public void setCcidError(boolean error)
Sets CCID error.

Parameters:
error - set to true to enable CCID error. Otherwise, set to false.
Since:
1.1

getCcidErrorCode

public byte getCcidErrorCode()
Gets the CCID error code.

Returns:
the CCID error code.
Since:
1.1

setCcidErrorCode

public void setCcidErrorCode(byte errorCode)
Sets the CCID error code.

Parameters:
errorCode - the CCID error code.
Since:
1.1


Copyright © 2011-2012 Advanced Card Systems Ltd. All Rights Reserved.