public class CardExceptionProxy extends Exception
CardExceptionCardException,
Serialized Form| Constructor and Description |
|---|
CardExceptionProxy(short reason)
Construct a CardException instance with the specified reason.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getReason()
Get reason code
|
void |
setReason(short reason)
Set reason code
|
static void |
throwIt(short reason)
Throw the Java Card runtime environment-owned instance of
CardException class with the
specified reason. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CardExceptionProxy(short reason)
throwIt() method
to use the Java Card runtime environment-owned instance of this class.reason - the reason for the exceptionpublic short getReason()
public void setReason(short reason)
reason - the reason for the exceptionpublic static void throwIt(short reason)
throws CardExceptionProxy
CardException class with the
specified reason.
Java Card runtime environment-owned instances of exception classes are temporary Java Card runtime environment Entry Point Objects and can be accessed from any applet context. References to these temporary objects cannot be stored in class variables or instance variables or array components. See Runtime Environment Specification for the Java Card Platform, section 6.2.1 for details.
reason - the reason for the exceptionCardExceptionProxy - always