|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
opencard.core.OpenCardException
opencard.core.terminal.CardTerminalException
public class CardTerminalException
Through a CardTerminalException we signal all exceptions upstream.
Constructor Summary | |
---|---|
CardTerminalException()
The empty constructor. |
|
CardTerminalException(java.lang.String s)
Constructs an object of this class. |
|
CardTerminalException(java.lang.String s,
CardTerminal aTerminal)
Constructs an object of this class. |
|
CardTerminalException(java.lang.String s,
CardTerminal aTerminal,
int slotID)
Constructs an object of this class. |
|
CardTerminalException(java.lang.String s,
CardTerminal aTerminal,
Slot aSlot)
Deprecated. use CardTerminalException(String, CardTerminal, int) |
Method Summary | |
---|---|
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 |
---|
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 |
---|
public CardTerminalException()
public CardTerminalException(java.lang.String s)
s
- message telling a bit more about the cause of this exceptionpublic CardTerminalException(java.lang.String s, CardTerminal aTerminal)
s
- A message telling a bit more about the cause of
this exceptionaTerminal
- The CardTerminal where the exception
originated.public CardTerminalException(java.lang.String s, CardTerminal aTerminal, Slot aSlot)
public CardTerminalException(java.lang.String s, CardTerminal aTerminal, int slotID)
s
- A message telling a bit more about the cause of
this exceptionaTerminal
- The CardTerminal where the exception originated.slotID
- The slot number where the exception originated.Method Detail |
---|
public CardTerminal getCardTerminal()
public int getSlot()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |