OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

com.ibm.opencard.access
Class BadHeaderException

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
                                            |
                                            +--com.ibm.opencard.access.BadHeaderException

public class BadHeaderException
extends CardServiceUnexpectedResponseException

Exception thrown when a file header cannot be parsed. The name does not include "File" since that would imply that it should be located in the package with the file system support. The exception, however, is needed here in the access package, which should not depend on the file package.
The base class is CardServiceUnexpectedResponseException, since file headers are usually obtained as response to a SELECT command. The exception is most likely the result of a mismatch between card and card service.

Version:
$Id: BadHeaderException.java,v 1.1 1999/12/02 16:05:59 damke Exp $
See Also:
Serialized Form

Constructor Summary
BadHeaderException()
          Creates a new exception without detail message.
BadHeaderException(java.lang.String message)
          Creates a new exception with the given detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BadHeaderException

public BadHeaderException()
Creates a new exception without detail message.

BadHeaderException

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