Error handling in Fortran 2003

  • Authors:
  • Koen Poppe;Ronald Cools;Bart Vandewoestyne

  • Affiliations:
  • KU Leuven, B-3001 Heverlee, Belgium;KU Leuven, B-3001 Heverlee, Belgium;KU Leuven, B-3001 Heverlee, Belgium

  • Venue:
  • ACM SIGPLAN Fortran Forum
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Although the Fortran programming language is evolving steadily, it still lacks a framework for error handling-- not to be confused with floating point exceptions. Therefore, the commonly used techniques for handling errors did not change much since the early days and do not benefit from the new features of Fortran 2003. After discussing some historical approaches, a Fortran 2003 framework for error handling is presented. This framework also proved to be valuable in the context of unit testing and the design-by-contract (DBC) paradigm.