Re: Oh boy, how did we miss this...

From: Maarten Wiltink (maarten_at_kittensandcats.net)
Date: 11/08/04


Date: Mon, 8 Nov 2004 09:42:36 +0100


"VBDis" <vbdis@aol.com> wrote in message
news:20041108031436.06144.00000027@mb-m27.aol.com...
[...]
> Provided I interpret my latest observations correctly, then runtime
> errors also are exceptions, but kind of exceptions that are not caught
> unless they are translated into Delphi exceptions. In so far it would
> be incorrect to distinguish between runtime errors and exceptions -
> different is only the handling of the runtime error exceptions.
>
> Now I fear that we'll need a more precise terminology, for what is a
> runtime error, and what kinds of exceptions can be handled in Except
> clauses.

Isn't this as simple as distinguishing between Windows exceptions and
Delphi exceptions?

Windows SEH is characterised by the behaviour with respect to guard
frames, and Delphi exception [object] handling was carefully engineered
to be a superset of that, with some replacing of code by functionally
equivalent code.

Groetjes,
Maarten Wiltink



Relevant Pages

  • Re: Try Finally...
    ... No system exceptions, and no Delphi exceptions. ... Delphi's procedure names don't suggest a calling convention. ... The compiler won't guess the calling ...
    (comp.lang.pascal.delphi.misc)
  • Re: Options for Compiler/Application
    ... "Jonas Wik" wrote in message ... "stop on Delphi exceptions" under the Language Exceptions tab. ... Dan ...
    (borland.public.delphi.ide)
  • Re: Oh boy, how did we miss this...
    ... Because it is a runtime error, ... are exceptions, but kind of exceptions that are not caught unless they are ... Delphi and BCB exceptions are compatible, i.e. that BCB code can handle ... Delphi exceptions raised in e.g. the VCL. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Try - Except problem
    ... In Delphi 5, for example, turn off "Stop on Delphi Exceptions": ... Tools | Debugger Options | Language Exceptions ... >development system from the old one. ...
    (borland.public.delphi.language.objectpascal)
  • Re: Oh boy, how did we miss this...
    ... >Transferral of system errors, like divbyzero, to Delphi exceptions. ... This is just a matter of translating errors into exceptions. ... It's really a Delphi option, not a feature of the language ...
    (comp.lang.pascal.delphi.misc)