Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 15093, Error Number

by Simon Carter Email: Anonymous


Download Details
FTP  download also available 0 bytes
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 5.0 13 downloads
Copyright: No significant restrictions


Size: 0 bytes
Updated on Tue, 01 Aug 2000 00:00:00 GMT
Originally uploaded on Tue, 01 Aug 2000 07:16:49 GMT
Description
It would be nice to include an Error Number in the Exception class.

It would be nice to do:

except
on E: Exception do
begin
case E.Error of
10: ShowOpenException(E);
11: StoreException(E);
end;
(* Rather than *)
if E.Message = 'Some String' then
ShowOpenException(E);
if E.Message = 'Another String' then
StoreException;
end;
end;

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03