In Delphi 2009, SysUtils.pas contains
this in line
425:
EProgrammerNotFound =
class(Exception);
- Is
this simply an href="http://en.wikipedia.org/wiki/Easter_egg_%28media%29#Software-based"
rel="noreferrer">easter egg or something
serious? - When should this exception be
raised? - Does it also exist in Delphi Prism and/or Free
Pascal?
/>
Q: Is this exception class still declared
in Delphi (currently XE7)?
A: Yes, and it is even href="http://docwiki.embarcadero.com/Libraries/XE7/en/System.SysUtils.EProgrammerNotFound"
rel="noreferrer">documented!
Nonstandard way to indicate software faults.
You can use EProgrammerNotFound as an alternative to indicate
software
faults detected at run
time.
No comments:
Post a Comment