Towards An Exception Handling Mechanism In Object Oriented Design
Price
Free (open access)
Volume
9
Pages
10
Published
1994
Size
887 kb
Paper DOI
10.2495/SQM940322
Copyright
WIT Press
Author(s)
C. Bamford & M. Ramachandran
Abstract
The detection and handling of exceptions is essential to the design and implementation of reliable and reusable systems, but existing OOD methods do not provide explicit support for them at the design level. We propose an OOD model based on design for reuse with exceptions. Our approach is to categorise the possible exceptions associated with the methods of a class, with the possibility of relating then directly to formally specified pre- and post- conditions. In our work, an exception is treated as an object of a general exception class which acts as a superclass for all specific exception classes. A prototype model of a tool support is proposed, which can provide advice and analysis on the application domain knowledge in designing reusable classes with exceptions. Introduction OOD
Keywords