net.sourceforge.scuba.smartcards
Class CardServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
getSerialVersionUID
public static long getSerialVersionUID()
getSW
public int getSW()
- Returns:
- The status word that caused this exception