Package opencard.opt.service
Class CardServiceUnexpectedResponseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- opencard.core.OpenCardException
-
- opencard.core.service.CardServiceException
-
- opencard.core.service.CardServiceImplementationException
-
- 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.- Author:
- Thomas Schaeck (schaeck@de.ibm.com)
- See Also:
CardServiceOperationFailedException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CardServiceUnexpectedResponseException()
Creates a new exception without detail message.CardServiceUnexpectedResponseException(java.lang.String message)
Creates a new exception with the given detail message.
-
-
-
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
-
-