Exception Handling for C++

@inproceedings{Koenig1990ExceptionHF,
  title={Exception Handling for C++},
  author={Andrew Koenig and Bjarne Stroustrup},
  booktitle={C++ Conference},
  year={1990}
}
This paper outlines a design for an exception handling mechanism for C ++. It presents the reasoning behind the major design decisions and considers their implications for implementation alternatives. The mechanism is flexible, comparatively safe and easy to use, works in a mixed language execution environment, and can be implemented to run efficiently. Two implementation strategies are described in some detail. 

Topics from this paper

Exception handling for a communicating-sequential-processes-based extension of C++
  • J. Adamo
  • Computer Science
  • Concurr. Pract. Exp.
  • 1991
TLDR
In this proposal, the replacement model of Yemini and Berry (1985) is considered, parallelism and exception handling are closely combined, making process pre-emption available but raising problems of atomicity and non-determinism. Expand
Optimizing away C++ exception handling
TLDR
This optimization produces modest but useful gains on some existing C++ code, but produces very significant size and speed gains on code that uses empty exception specifications, avoiding otherwise serious performance losses. Expand
Throw2goto: an Exception Handling Optimization
We discuss an exception handling optimization that achieves zero overhead in both space and time compared to ordinary C-style error handling control flow when the compiler can see which catch block aExpand
Concurrent Exception Handling
  • V. Issarny
  • Computer Science
  • Advances in Exception Handling Techniques
  • 2000
This paper discusses the cooperation exception handling model that comes along with a mechanism for multi-party interaction, in order to support the development of robust distributed applicationsExpand
Implementing Coordinated Error Recovery for Distributed Object-Oriented Systems with AspectJ
TLDR
The main contribution is to show that AspectJ is useful for implementing the concerns related to concurrent exception handling and to provide a useful tool to developers of distributed, concurrent fault-tolerant applications. Expand
Implementing Coordinated Exception Handling for Distributed Object-Oriented Systems with AspectJ
Exception handling is a very popular technique for incorporating fault tolerance into software systems. However, its use for structuring concurrent, distributed systems is hindered by the fact thatExpand
Advanced Exception Handling Mechanisms
TLDR
A framework for a comprehensive, easy to use, and extensible exception handling mechanism is presented for a concurrent, object-oriented environment and the pros and cons of various exception features are examined, along with feature interaction with other language mechanisms. Expand
A Fully Object-Oriented Exception Handling System: Rationale and Smalltalk Implementation
  • C. Dony
  • Computer Science
  • Advances in Exception Handling Techniques
  • 2000
TLDR
A full object-oriented representation of exceptions and handlers, a meta-object protocol to handle using either termination or resumption makes the system powerful as well as extendible and solves various exception handling issues. Expand
Exception handling and object-oriented programming: towards a synthesis
  • C. Dony
  • Computer Science
  • OOPSLA/ECOOP '90
  • 1990
TLDR
It is shown how a full object-oriented representation of exceptions and of protocols to handle them, using meta-classes, makes the system powerful as well as extendible and solves many classical exception handling issues. Expand
Design and implementation of exception handling with zero overhead in functional languages
A dissertation submitted to the College of Engineering at Florida Institute of Technology in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science
...
1
2
3
4
5
...

References

SHOWING 1-10 OF 24 REFERENCES
Exception handling: issues and a proposed notation
TLDR
The proposed language features serve to highlight exception handling issues by showing how deficiencies in current approaches can be remedied. Expand
Exception Handling in CLU
TLDR
The various models of exception handUlng, the syntax and semantics of the CLU mechanism, and methods of implementing the mechanism and integrating it in debugging and production environments are discussed. Expand
A modular verifiable exception handling mechanism
TLDR
This paper presents the syntactic extensions for embedding the replacement model into Algol 68 and its operational semantics and an axiomatic semantic definition for the model can be found in [27]. Expand
Extending Modula-2 to Build Large, Integrated Systems
Designed to build both system and application software for large systems, Modula-2+ supports exception handling, automatic storage management, and concurrency for multiprocessors without compromisingExpand
Definition of standard ML
TLDR
This book provides a formal definition of Standard ML for the benefit of all concerned with the language, including users and implementers, and the authors have defined their semantic objects in mathematical notation that is completely independent of StandardML. Expand
The Annotated C++ Reference Manual
TLDR
This chapter discusses the evolution of C++ and ANSI C, a standards-based programming language, and its applications in the rapidly changing environment, as well as some of the techniques used to design and implement these systems. Expand
Stroustrup: The Annotated C ++ Reference Manual
  • 1990
Exception handling for c++ (revised)
Harper: The Definition of Standard ML
  • 1990
Stroustrup: Exception Handling for C ++ (revised
  • Proc. USENIX C++ Conference,
  • 1990
...
1
2
3
...