30.06.2013 Aufrufe

Softwareentwicklung in C++ - ASC

Softwareentwicklung in C++ - ASC

Softwareentwicklung in C++ - ASC

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

32 throw OneException ( ) ;<br />

33 }<br />

34 } ;<br />

35<br />

15.7 Weiterführendes zu Exceptions 489<br />

36 //−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−<br />

37 /∗<br />

38 ∗ BadClass<br />

39 ∗<br />

40 ∗ throws an exception <strong>in</strong> the d e s t r u c t o r . . .<br />

41 ∗<br />

42 ∗/<br />

43<br />

44 class BadClass<br />

45 {<br />

46 public :<br />

47 virtual ˜ BadClass ( )<br />

48 {<br />

49 cout

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!