Chapter 13: Delphi and C Exception Handling


The examples we wrote in previous chapters, especially the ones that illustrate how to dynamically create objects, can be considered pretty unsafe. The reason is simple: The examples contain no or very little error-handling code. The only examples that check for errors extensively are the examples that use the IOResult function to see if an I/O error occurred.

This chapter deals with exception handling (also known as structured exception handling) — an error-handling mechanism that enables you to respond to errors in a uniform manner.

Inside Delphi 2006
Inside Delphi 2006 (Wordware Delphi Developers Library)
ISBN: 1598220039
EAN: 2147483647
Year: 2004
Pages: 212
Authors: Ivan Hladni

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: