Javacard. Framework. isoexception

Source: Internet
Author: User
ArticleDirectory
    • Isoexception
    • Throwit
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

IsoexceptionClass encapsulates an ISO 7816-4 response status word as itsReasonCode.

TheAPDUClass 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

 

Constructor detail

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

Method detail

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.