Class APDUExceptionSubclass
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javacard.framework.CardRuntimeException
-
- javacard.framework.APDUException
-
- com.sun.javacard.javax.smartcard.rmiclient.APDUExceptionSubclass
-
- All Implemented Interfaces:
java.io.Serializable
public class APDUExceptionSubclass extends APDUException
This exception class represents a card subclass ofAPDUException
.APDUException
represents anAPDU
related exception on the card.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javacard.framework.APDUException
BAD_LENGTH, BUFFER_BOUNDS, ILLEGAL_USE, IO_ERROR, NO_T0_GETRESPONSE, NO_T0_REISSUE, T1_IFD_ABORT
-
-
Constructor Summary
Constructors Constructor Description APDUExceptionSubclass(java.lang.String msg, short reason)
Constructs an APDUExceptionSubclass with the specified reason and specified error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns the error message string of this throwable object.-
Methods inherited from class javacard.framework.APDUException
throwIt
-
Methods inherited from class javacard.framework.CardRuntimeException
getReason, setReason
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the error message string of this throwable object.- Overrides:
getMessage
in classjava.lang.Throwable
- Returns:
- the error message string of this Throwable object if it was created with an error message string; or null if it was created with no error message.
-
-