Thema: Prism exception handling

Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#2

Re: exception handling

  Alt 3. Jul 2006, 16:43
nuja...

Code:
try
{
  verdaechtiger_code();
}
catch
{
  throw new Exception('verdaechtiger code hat geworfen');
}
so gehts in C#... in Delphi.NET wie gehabt, try...except...end / try...finally...end.

Oder gehts dir um die Grundzüge des Exception Handling?
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat