Package com.sun.javacard.apduio
Class CadTransportException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.javacard.apduio.CadTransportException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
T1Exception
,TLP224Exception
public abstract class CadTransportException extends java.lang.Exception
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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.ResourceBundle
_messages
Properties file with messagesprotected int
status
Error codestatic int
STATUS_UNKNOWN
Error code constant
-
Constructor Summary
Constructors Constructor Description CadTransportException(int status)
Constructor method for exception class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns a String describing this exception.int
getStatus()
Returns the status associated with the exception.
-
-
-
Method Detail
-
getStatus
public int getStatus()
Returns the status associated with the exception.- Returns:
- The error status
-
getMessage
public java.lang.String getMessage()
Returns a String describing this exception.- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- the String describing this exception
-
-