Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
Turbo Delphi für Win32
|
Re: Bubblen Exception nach oben durch einen try-finally-Bloc
11. Feb 2007, 22:12
Delphi-Quellcode:
with TSomeClass.Create do
try
SomeMethod;
SomeMethodThatThrows; //wirft Exception!
except
on E: Exception do
ShowmEssage(E. Message);
end;
Free;
So würd ich das machen.
Manuel Eberl „The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
|