|
ABSTRACT
Exception handling in Ada has a number of well-known problems. It allows for the propagation of unhandled and anonymous exceptions, it is error-prone and it is inappropriate for some language features such as tasking and tagged types. Ada programs with exceptions can be difficult to understand, develop, modify and analyse, and the exception handling features can be misused in a number of ways.In this paper we introduce the requirements for good exception handling features. We classify the problems with Ada exception handling into two subsets: serious conceptual problems that require an improvement of the language features, and problems attributable to the misuse of the existing features. Problems in the second category can be solved by improving programmers' understanding of the features and ways of using them.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
C. Ausnit-Hood. Ada 95 Quality and Style: Guidelines for Professional Programmers. Lecture Notes in Computer Science, vol. 1344, Springer-Verlag. 1997.
|
 |
2
|
|
| |
3
|
J. Barnes. High Integrity Ada. The SPARK Approach. Addison-Wesley, 1997.
|
| |
4
|
W. G. Bail. Exception-handling Design Patterns. In Advances in Computers, v. 49. Academic Press, 191-238, 1999.
|
| |
5
|
M. Bidoit, M.-C. Gaudel, G. Guino. Towards a Systematic and Safe Programming of Exception Handling in Ada. Proc. 3rd Joint Ada Europe/Ada-TEC Conference, The Ada Companion Series, Cambridge University Press, 141-152, 1984.
|
| |
6
|
|
| |
7
|
F. Cristian. Exception Handling and Tolerance of Software Faults. In Lyu, M. R. (Ed.): Software Fault Tolerance. Wiley, 81-108, 1994.
|
| |
8
|
R. Chapman, A. Burns, A. J. Wellings. Worst-Case Timing Analysis of Exception Handing in Ada. Proc. Ada UK Conference, London, UK, 1993.
|
| |
9
|
|
| |
10
|
|
| |
11
|
|
 |
12
|
|
| |
13
|
A. Garcia, D. Beder, C. Rubira. An Exception Handling Software Architecture for Developing Fault-Tolerant Software, Proc. 5th International Symposium on High Assurance Systems Engineering, 311-320, 2000.
|
 |
14
|
|
 |
15
|
Jean D. Ichbiah , Bernd Krieg-Brueckner , Brian A. Wichmann , John G. P. Barnes , Olivier Roubine , Jean-Claude Heliard, Rationale for the design of the Ada programming language, ACM SIGPLAN Notices, v.14 n.6b, p.1-261, June 1979
[doi> 10.1145/956653.956654]
|
| |
16
|
|
| |
17
|
|
 |
18
|
|
| |
19
|
D. C. Luckham, F. W. von Hanke. An Overview of Anna, a Specification Language for Ada. IEEE Software, 2, 2, 9-22, 1985.
|
| |
20
|
|
| |
21
|
|
| |
22
|
|
 |
23
|
|
| |
24
|
|
 |
25
|
|
| |
26
|
|
CITED BY 4
|
|
|
|
|
|
|
|
Anya Helene Bagge , Valentin David , Magne Haveraaen , Karl Trygve Kalleberg, Stayin' alert:: moulding failure and exceptions to your needs, Proceedings of the 5th international conference on Generative programming and component engineering, October 22-26, 2006, Portland, Oregon, USA
|
|
|
|
|