public class CardRuntimeExceptionProxy extends RuntimeException
CardRuntimeExceptionCardRuntimeException,
Serialized Form| Constructor and Description |
|---|
CardRuntimeExceptionProxy(short reason)
Constructs a CardRuntimeException 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)
Throws the Java Card runtime environment-owned instance of the
CardRuntimeException class with the
specified reason. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CardRuntimeExceptionProxy(short reason)
throwIt() method
to employ 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 CardRuntimeExceptionProxy
CardRuntimeException 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 exceptionCardRuntimeExceptionProxy - always