Class CardTerminalException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CardTerminal getCardTerminal()
      Gets the CardTerminal object where this exception occurred.
      int getSlot()
      Gets the Slot object where this exception occurred.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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
    • Constructor Detail

      • CardTerminalException

        public CardTerminalException()
        The empty constructor.
      • CardTerminalException

        public CardTerminalException​(java.lang.String s)
        Constructs an object of this class.
        Parameters:
        s - message telling a bit more about the cause of this exception
      • CardTerminalException

        public CardTerminalException​(java.lang.String s,
                                     CardTerminal aTerminal)
        Constructs an object of this class. Information about the terminal where this exception originated is given.
        Parameters:
        s - A message telling a bit more about the cause of this exception
        aTerminal - The CardTerminal where the exception originated.
      • CardTerminalException

        public CardTerminalException​(java.lang.String s,
                                     CardTerminal aTerminal,
                                     Slot aSlot)
        Deprecated.
        use CardTerminalException(String, CardTerminal, int)
      • CardTerminalException

        public CardTerminalException​(java.lang.String s,
                                     CardTerminal aTerminal,
                                     int slotID)
        Constructs an object of this class. Information about the terminal and slot where this exception originated is given.
        Parameters:
        s - A message telling a bit more about the cause of this exception
        aTerminal - The CardTerminal where the exception originated.
        slotID - The slot number where the exception originated.
    • Method Detail

      • getCardTerminal

        public CardTerminal getCardTerminal()
        Gets the CardTerminal object where this exception occurred.
        Returns:
        The reference to the CardTerminal.
      • getSlot

        public int getSlot()
        Gets the Slot object where this exception occurred.
        Returns:
        The reference to the Slot.