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

Exception processing method and device

An exception handling and exception technology, applied in the direction of program control devices, electrical digital data processing, instruments, etc., can solve the problems of low accuracy of exception handling, poor software robustness, complicated process, etc., to improve accuracy and processing efficiency, and facilitate The effect of maintaining, improving ease of use, and software robustness

Active Publication Date: 2011-01-05
CAXA TECH
View PDF1 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and device for exception handling, so as to solve the problem of low correctness and efficiency of exception handling due to the complexity of exception handling process, and poor software robustness

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
  • Exception processing method and device
  • Exception processing method and device
  • Exception processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0024] According to an embodiment of the present invention, an exception handling device is provided.

[0025] figure 1 is a schematic diagram of an exception handling device according to an embodiment of the present invention. Such as figure 1 As shown, the device for abnormal processing includes: a detection module 11, which is used to detect one or more abnormal states in the instruction; a search module 13, which is used to search the attribute information corresponding to the abnormal state in the instruction abnormal state list, and the instruction is abnormal The status list saves the attribute information of each abnormal state, wherein the attribute information includes exception nu...

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 discloses an exception processing method and an exception processing device. The method comprises the following steps of: detecting one or more exception states in instructions; searching attribute information corresponding to the exception states in an instruction exception state list, wherein the instruction exception state list saves the attribute information of various exception states; and displaying the attribute information corresponding to the exception state. The method and the device can quickly and accurately position exception places, improve the accuracy and processing efficiency for processing exception, facilitate software code maintenance, and improve accessibility of users and robustness of software.

Description

technical field [0001] The invention relates to a method and device for abnormal processing. Background technique [0002] The computer's exception-handling capabilities provide the means to handle any unexpected or unusual conditions that arise while a program is running. Exception handling uses the try, catch, and finally keywords to attempt potentially unsuccessful operations, handle failures, and clean up resources afterward. Treating exceptions usually does not simply end the program, but instead executes a special piece of code to handle the exception and tries to resume the program to continue execution. When an exception occurs, the system starts from the code that generates the object, traces back layer by layer along the call stack of the method, finds the corresponding processing code, and hands the exception object to the method for processing. [0003] There are two basic models of exception handling theory: one is called "termination model", in this model, th...

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/00G06F9/44
Inventor 吴玲付德平李海峰
Owner CAXA TECH
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