TY - GEN
T1 - Zero-Overhead Exception Handling Using Metaprogramming
AU - Hof, Markus
AU - Mössenböck, Hanspeter
AU - Pirkelbauer, Peter
PY - 1997/3
Y1 - 1997/3
N2 - We present a novel approach to exception handling which is based on metaprogramming. Our mechanism does not require language support, imposes no run time overhead to error-free programs, and is easy to implement. Exception handlers are implemented as ordinary procedures. When an exception occurs, the
corresponding handler is searched dynamically using the type of the exception as a search criterion. Our implementation was done in the Oberon System but it could be ported to most other systems that support metaprogramming.
AB - We present a novel approach to exception handling which is based on metaprogramming. Our mechanism does not require language support, imposes no run time overhead to error-free programs, and is easy to implement. Exception handlers are implemented as ordinary procedures. When an exception occurs, the
corresponding handler is searched dynamically using the type of the exception as a search criterion. Our implementation was done in the Oberon System but it could be ported to most other systems that support metaprogramming.
UR - https://www.scopus.com/pages/publications/84958040027
U2 - 10.1007/3-540-63774-5_122
DO - 10.1007/3-540-63774-5_122
M3 - Conference proceedings
SN - 3540637745
SN - 9783540637745
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 423
EP - 431
BT - SOFSEM'97, Milovy, Czech Republic
A2 - Jeffery, Keith G.
A2 - Plasil, Frantisek
PB - Springer
ER -