<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Exception]]></title><description><![CDATA[<p>Ok,<br />
dann gleich noch eine Frage hinterher...<br />
Ich denke ich bin zu doof heute!</p>
<p>Ich hab eine Funktion die mir Daten über Bluetooth an mein Handy sendet.<br />
Nehme ich diese jedoch nicht an bekomme ich eine Fehlermeldung (Win32 Socket feher bla bla)</p>
<p>Diese möchte ich abfangen.<br />
Das sollte doch per try&amp;catch funktionieren oder nicht?</p>
<pre><code class="language-cpp">try {
//Funktionsaufruf
}
catch ( /* ?? Welche Exception bloß ?? */ ) {
// Error Handling
}
</code></pre>
<p>Wie gesagt, welche Exception muss ich abfragen, irgendwie funzt das alles nicht<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/157281/exception</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 22:02:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/157281.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Aug 2006 11:22:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Exception on Thu, 24 Aug 2006 11:22:41 GMT]]></title><description><![CDATA[<p>Ok,<br />
dann gleich noch eine Frage hinterher...<br />
Ich denke ich bin zu doof heute!</p>
<p>Ich hab eine Funktion die mir Daten über Bluetooth an mein Handy sendet.<br />
Nehme ich diese jedoch nicht an bekomme ich eine Fehlermeldung (Win32 Socket feher bla bla)</p>
<p>Diese möchte ich abfangen.<br />
Das sollte doch per try&amp;catch funktionieren oder nicht?</p>
<pre><code class="language-cpp">try {
//Funktionsaufruf
}
catch ( /* ?? Welche Exception bloß ?? */ ) {
// Error Handling
}
</code></pre>
<p>Wie gesagt, welche Exception muss ich abfragen, irgendwie funzt das alles nicht<br />
Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1123646</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1123646</guid><dc:creator><![CDATA[C-O-M-M-A-N-D-E-R]]></dc:creator><pubDate>Thu, 24 Aug 2006 11:22:41 GMT</pubDate></item><item><title><![CDATA[Reply to Exception on Thu, 24 Aug 2006 11:28:02 GMT]]></title><description><![CDATA[<p>Wenn eine geworfen wird, muß die Dokumentation der benutzen Lib dir sagen, welche Exception geworfen wird. Oder du hast den Sourcecode der Lib und schaust selbst da rein? Oder du schaust in die Header-Datei der Lib rein, vielleicht steht da was drin? Wir können ja nicht hellsehen!</p>
<p>Sollte man überhaupt nicht wissen, was geworfen wird, kann man Alternativ (was aber wirklich nur selten gemacht werden soll):</p>
<pre><code class="language-cpp">try{}
catch(...) {}
</code></pre>
<p>Die drei Punkte sagen: fang alles ab. Aber du weißt dann halt immer noch nicht was geworfen wurde.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1123653</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1123653</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Thu, 24 Aug 2006 11:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to Exception on Thu, 24 Aug 2006 11:33:29 GMT]]></title><description><![CDATA[<p>Ist nen ActiveX Steuerelement (nicht mein eigen)</p>
<p>Es sind laut info alles Win32 Errors <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1123663</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1123663</guid><dc:creator><![CDATA[C-O-M-M-A-N-D-E-R]]></dc:creator><pubDate>Thu, 24 Aug 2006 11:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to Exception on Thu, 24 Aug 2006 11:34:49 GMT]]></title><description><![CDATA[<p>Zudem gibt es noch MFC TRY CATCH. Einfach eben gross geschrieben. Die dazugehörigen Exceptions findest du hier:<br />
<a href="http://msdn2.microsoft.com/en-us/library/yx1b5f5w.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/yx1b5f5w.aspx</a><br />
MFC TRY CATH und co hier:<br />
<a href="http://msdn2.microsoft.com/en-us/library/bkbfk27x.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/bkbfk27x.aspx</a></p>
<p>Aber eben, du musst zuerst wissen, was überhaupt geworfen wird. Und das können wir dir leider nicht sagen.</p>
<p>*Edit* Zeig mal die Info!</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1123665</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1123665</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Thu, 24 Aug 2006 11:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to Exception on Thu, 24 Aug 2006 11:40:03 GMT]]></title><description><![CDATA[<p>die info ist ne message ausm icq <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>Naja ich dokotor da dann noch mal ein bisschen dran rum <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1123675</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1123675</guid><dc:creator><![CDATA[C-O-M-M-A-N-D-E-R]]></dc:creator><pubDate>Thu, 24 Aug 2006 11:40:03 GMT</pubDate></item></channel></rss>