RE: Reformatted: EFLIB as class library for Object-Pascal (fwd)
11 May
1998
11 May
'98
7:52 a.m.
Frank Heckenbach wrote:
Is there a way to get the exception that was caught into a variable or so? Something like (fantasy syntax):
On Foo : EAnotherException do Something.With (Foo.ErrDevice);
Frank, your "fantasy" syntax is right. In Delphi: try { do something that might raise an exception } except on Foo : Exception DO ShowMessage(Foo.Message) end Where "Foo" is an instance of the Exception class. There is no need to declare "Foo" as a variable first. Achim
10326
Age (days ago)
10326
Last active (days ago)
0 comments
1 participants
participants (1)
-
Achim Kalwa