JMRTD 0.4.5

net.sourceforge.scuba.smartcards
Class CardServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sourceforge.scuba.smartcards.CardServiceException
All Implemented Interfaces:
Serializable

public class CardServiceException
extends Exception

CardServiceExceptions are used to signal error Response APDUs , ie responses different from 0x9000, but also low level errors.

Author:
erikpoll
See Also:
Serialized Form

Constructor Summary
CardServiceException(String msg)
           
CardServiceException(String msg, int sw)
          Create a CardServiceException with a status word
 
Method Summary
static long getSerialVersionUID()
           
 int getSW()
           
 
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

CardServiceException

public CardServiceException(String msg)

CardServiceException

public CardServiceException(String msg,
                            int sw)
Create a CardServiceException with a status word

Parameters:
sw - The status word that caused this CardServiceException
Method Detail

getSerialVersionUID

public static long getSerialVersionUID()

getSW

public int getSW()
Returns:
The status word that caused this exception

JMRTD 0.4.5