Class CardServiceUnexpectedResponseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CardServiceUnexpectedResponseException
    extends CardServiceImplementationException
    Exception indicating that a smartcard's response cannot be interpreted. This may be the result of a bug in the card service, or of a mismatch between the smartcard and the service that was used to access it. It may also be the result of a limited implementation, for example one that does not bother to check for the different reasons of a failure.
    If the response from the smartcard does not indicate success, but is an error response recognized by the service, a CardServiceOperationFailedException should be thrown instead.
    Author:
    Thomas Schaeck (schaeck@de.ibm.com)
    See Also:
    CardServiceOperationFailedException, Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CardServiceUnexpectedResponseException

        public CardServiceUnexpectedResponseException()
        Creates a new exception without detail message.
      • CardServiceUnexpectedResponseException

        public CardServiceUnexpectedResponseException​(java.lang.String message)
        Creates a new exception with the given detail message.
        Parameters:
        message - a string indicating why this exception is thrown