Class CardServiceUnexpectedStatusWordException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CardServiceUnexpectedStatusWordException
    extends CardServiceException
    Author:
    Andreas Schwier (info@cardcontact.de)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int sw  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      int getSW()
      Get failed SW1/SW2
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • sw

        protected int sw
    • Constructor Detail

      • CardServiceUnexpectedStatusWordException

        public CardServiceUnexpectedStatusWordException​(java.lang.String msg,
                                                        int sw)
        Create exception and store last SW1/SW2
        Parameters:
        msg -
        sw -
    • Method Detail

      • getSW

        public int getSW()
        Get failed SW1/SW2
        Returns:
        SW1/SW2
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable