Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Java-based exception handling method and exception handling mechanism

A java method and exception handling technology, applied in the field of data processing, can solve problems such as long delay time, delay in exception capture time, and affect the execution performance of Java virtual machine, so as to reduce delay, avoid traversal, and improve operation efficiency.

Inactive Publication Date: 2011-04-06
BEIJING WATCH DATA SYST
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Obviously, the traversal operation of the exception handling information group of other CAP packets will delay the time of exception capture, and when the Java smart card loads more CAP packets, the delay time will be longer, which directly affects the execution performance of the Java virtual machine

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Java-based exception handling method and exception handling mechanism
  • Java-based exception handling method and exception handling mechanism
  • Java-based exception handling method and exception handling mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] Please refer to figure 1 , showing a Java-based exception handling method implementation one of the present invention, comprising the following steps:

[0034] Step 101, establishing a CAP file index recording module.

[0035] The CAP file index recording module is used to record the index information of the CAP file, such as the handle of the CAP file. The corresponding CAP file can be found through the index information. The form of the CAP file index recording module is not limited, as long as the location of the CAP file can be recorded and the corresponding CAP file can be found through the index information. For example, the CAP file index recording module may be a CAP file handle stack corresponding to a Java meth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a Java-based exception handling method, which comprises the following steps of: establishing a CAP (competitive access provider) file index record module used for recording index information of CAP files; and finding a corresponding CAP file according to the index information recorded in the CAP file index record module, and traversing an exception information handling group of the CAP file and capturing the exception. In the Java-based exception handling method, the CAP file index record module is established for recording the index information of the CAP files, when the exception happens, the corresponding CAP file is searched according to the index information, the exception information handling group of the CAP file is traversed, and the exception is captured; therefore, the time delay for capturing and processing the exception of a master card is reduced and the operating efficiency is improved. The invention also provides a Java-based exception handling mechanism.

Description

technical field [0001] The invention relates to a data processing technology of a Java smart card, in particular to a Java-based exception handling method and an exception handling mechanism. Background technique [0002] As a relatively mature programming language, the Java language is widely used in the programming of various programs. For example, most of the existing telecom smart cards use the Java language to write application programs and store the application programs in the smart cards. With the increasing popularity and rapid development of computers, people put forward higher and higher requirements for the functions of application programs. With the improvement and enhancement of functions, the complexity of the program also increases, which leads to the decrease of the stability and reliability of the program, and various abnormal situations will appear during the running process of the program. In order to track and find the exact location where the program e...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 曾林
Owner BEIJING WATCH DATA SYST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products