opencard.opt.service
Class CardServiceUnexpectedResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by opencard.core.OpenCardException
                  extended by opencard.core.service.CardServiceException
                      extended by opencard.core.service.CardServiceImplementationException
                          extended by opencard.opt.service.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.

Version:
$Id: CardServiceUnexpectedResponseException.java,v 1.1.1.1 1999/10/05 15:08:48 damke Exp $
Author:
Thomas Schaeck (schaeck@de.ibm.com)
See Also:
CardServiceOperationFailedException, Serialized Form

Constructor Summary
CardServiceUnexpectedResponseException()
          Creates a new exception without detail message.
CardServiceUnexpectedResponseException(java.lang.String message)
          Creates a new exception with the given detail message.
 
Method Summary
 
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
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