|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sun.javacard.apduio.CadTransportException
public abstract class CadTransportException
This abstract class is the parent class of all CAD exception classes. It serves as an ancestor for T1Exception (for T=1 CAD) as well as TLP225Exception (for T=0 CAD) classes.
Field Summary | |
---|---|
protected static java.util.ResourceBundle |
_messages
Properties file with messages |
protected int |
status
Error code |
static int |
STATUS_UNKNOWN
Error code constant |
Constructor Summary | |
---|---|
CadTransportException(int status)
Constructor method for exception class. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns a String describing this exception. |
int |
getStatus()
Returns the status associated with the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, 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 |
---|
protected static java.util.ResourceBundle _messages
protected int status
public static int STATUS_UNKNOWN
Constructor Detail |
---|
public CadTransportException(int status)
status
- Initialization status for this exception.Method Detail |
---|
public int getStatus()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |