Einzelnen Beitrag anzeigen

Benutzerbild von Neutral General
Neutral General

Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#2

AW: [Quiz] welcher Exception Handler wird ausgeführt?

  Alt 1. Apr 2015, 16:44
Zitat:
das Programm gibt “TMouse: E is TObject” aus
Ist eigentlich logisch. TMouse ist nicht von Exception abgeleitet, von daher kann das nicht zutreffen und ansonsten zählt: Wer zuerst kommt, mahlt zuerst.
Ich wusste allerdings nicht dass man auch Nicht-Exception-Klassen raisen kann. Ich habe also ein bisschen geschummelt weil ichs ausprobiert habe :X
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
  Mit Zitat antworten Zitat