ArticleDirectory
Javacard. Framework
Class isoexception
Java. Lang. Object
Java. Lang. throwable
Java. Lang. Exception
Java. Lang. runtimeexception
Javacard. Framework. cardruntimeexception
Javacard. Framework. isoexception
Public classIsoexceptionExtends cardruntimeexception
Isoexception
Class encapsulates an ISO 7816-4 response status word as itsReason
Code.
TheAPDU
Class throws Java card runtime environment-owned instancesIsoexception
.
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. seeRuntime Environment specification for the Java card Platform, Section 6.2.1 for details.
Constructor Summary |
Isoexception(Short SW) Constructs an isoexception instance with the specified status word. |
Method Summary |
Static void |
Throwit(Short SW) Throws the Java card runtime environment-owned instance of the isoexception class with the specified status word. |
Methods inherited from class javacard. Framework. cardruntimeexception |
Getreason, setreason |
Methods inherited from class java. Lang. Object |
Equals |
Isoexception
PublicIsoexception(Short SW)
-
Constructs an isoexception instance with the specified status word. To conserve on Resources Use
Throwit ()
To employ the Java card runtime environment-owned instance of this class.
-
Parameters:
-
SW
-The ISO 7816-4 defined status word
Throwit
Public static voidThrowit(Short SW)
-
Throws the Java card runtime environment-owned instance of the isoexception class with the specified status word.
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.
-
-
parameters:
-
SW
-ISO 7816-4 defined status word
-
throws:
-
isoexception
-always