Search citation statements
Paper Sections
Citation Types
Year Published
Publication Types
Relationship
Authors
Journals
Can exceptionls be x n the words of the 1983 Ada stand-fore important that exception handling not r^* l ard,Iexceptions are "errors or other impose significant overhead on execution implemented for Ada exceptional situations that arise dur-time or program size. This principle guided without imposing ing program execution. " The standard our consideration of implementation techoverhead on normal goes on: "To raise an exception is to aban-niques. don normal program execution so as to e.wcutiom? Yes, draw attention to the fact that the coras long as certain responding situation has arisen. Executing Exceptions in Ada rules are followed, some actions, in response to the arising of Ada permits a programmer to declare ' an exception, is called handling the exceptions local to any package, procedure, exception." or other declarative unit. It also provides This article discusses the implementa-some predefined exceptions. Any exception tion of exceptions and exception handling. can be raised explicitly by execution of the Provision for handling exceptions is not a raise statement. The predefined exceptions common feature in programming lan-can also be raised implicitly through runguages. In Ada, exception handling has time checks. peculiar interactions with other language For example, CONSTRAINT-ERROR features. We will explain enough of the Ada is a predefined exception. It can be raised semantics of exceptions to expose the explicitly by the statement "raise implementation problems. We will then CONSTRAINT-ERROR;". It can also be describe several approaches to implemen-raised implicitly, as when attempting to tation and compare their merits. Algo-evaluate an indexed component of an array rithms for the various strategies are given for an index outside the index range of the in an Ada-like pseudocode.array. This check, to determine whether an This discussion is based on our experi-index is within bounds, is called ence in designing and implementing excep-INDEX&CHECK. tion handling for an Ada compiler atThe basic approach to exception hanFlorida State University. The compiler is a dling followed in Ada is described by its cross-compiler, written in Pascal, hosted designers as "local termination. '2 They on a CDC Cyber 170/760 system, and tar-cite Bron, Fokkinga, and De Haas3 as geted to a bare Zilog Z8002 microcomputer inspiration for their design and note its system with 64K bytes of memory. The similarity to the Bliss signal enable concompiler, which supports the full 1983 struct.4 Additional studies of exception Ada standard , successfully completed vali-handling have been made by Gooddation testing on ACVC Version 1.6 in Sep-enough5 and Levin.6 tember 1985. It was developed under When an exception is raised in a task or contract to the USAF Armament Labora-main program, "normal program executory at Eglin AFB for use in development tion is abandoned and control is transof embedded real-time systems, such as ferred to an exception handler."1 Each those used in aircraft guidance.handler is associated with the sequence of ...
Can exceptionls be x n the words of the 1983 Ada stand-fore important that exception handling not r^* l ard,Iexceptions are "errors or other impose significant overhead on execution implemented for Ada exceptional situations that arise dur-time or program size. This principle guided without imposing ing program execution. " The standard our consideration of implementation techoverhead on normal goes on: "To raise an exception is to aban-niques. don normal program execution so as to e.wcutiom? Yes, draw attention to the fact that the coras long as certain responding situation has arisen. Executing Exceptions in Ada rules are followed, some actions, in response to the arising of Ada permits a programmer to declare ' an exception, is called handling the exceptions local to any package, procedure, exception." or other declarative unit. It also provides This article discusses the implementa-some predefined exceptions. Any exception tion of exceptions and exception handling. can be raised explicitly by execution of the Provision for handling exceptions is not a raise statement. The predefined exceptions common feature in programming lan-can also be raised implicitly through runguages. In Ada, exception handling has time checks. peculiar interactions with other language For example, CONSTRAINT-ERROR features. We will explain enough of the Ada is a predefined exception. It can be raised semantics of exceptions to expose the explicitly by the statement "raise implementation problems. We will then CONSTRAINT-ERROR;". It can also be describe several approaches to implemen-raised implicitly, as when attempting to tation and compare their merits. Algo-evaluate an indexed component of an array rithms for the various strategies are given for an index outside the index range of the in an Ada-like pseudocode.array. This check, to determine whether an This discussion is based on our experi-index is within bounds, is called ence in designing and implementing excep-INDEX&CHECK. tion handling for an Ada compiler atThe basic approach to exception hanFlorida State University. The compiler is a dling followed in Ada is described by its cross-compiler, written in Pascal, hosted designers as "local termination. '2 They on a CDC Cyber 170/760 system, and tar-cite Bron, Fokkinga, and De Haas3 as geted to a bare Zilog Z8002 microcomputer inspiration for their design and note its system with 64K bytes of memory. The similarity to the Bliss signal enable concompiler, which supports the full 1983 struct.4 Additional studies of exception Ada standard , successfully completed vali-handling have been made by Gooddation testing on ACVC Version 1.6 in Sep-enough5 and Levin.6 tember 1985. It was developed under When an exception is raised in a task or contract to the USAF Armament Labora-main program, "normal program executory at Eglin AFB for use in development tion is abandoned and control is transof embedded real-time systems, such as ferred to an exception handler."1 Each those used in aircraft guidance.handler is associated with the sequence of ...
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.