<?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[LoadXMLDocument und Exeptions]]></title><description><![CDATA[<p>Hi,</p>
<p>wenn ich bei LoadXMLDocument eine Datei Lade die zwar den Namen *.xml hat aber keine gültige xml datei ist (z.B.: es ist nur ein a in der Datei). Dann löst LoadXMLDocument eine exeption aus und bringt dies als meldung.</p>
<p>Jetzt möchte ich diese exeption mit try catch abfangen ex funktioniert aber nicht, die exeption schon in der Funktion bearbeitet und angezeigt wird. Er geht zwar in meinen catch block aber das Fenster kommt schon vorher.</p>
<pre><code class="language-cpp">try
{
  XMLDoc = LoadXMLDocument(ODXMLFile-&gt;FileName);            
  if (!XMLDoc-&gt;IsEmptyDoc())
  {

  }
}
catch (...)
{

}
</code></pre>
<p>Wie kann ich das Anzeigen der Exeption in LoadXMLDocument verhindern?</p>
<p>MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/170393/loadxmldocument-und-exeptions</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 20:48:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/170393.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Jan 2007 11:52:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LoadXMLDocument und Exeptions on Fri, 25 Oct 2013 09:35:21 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>wenn ich bei LoadXMLDocument eine Datei Lade die zwar den Namen *.xml hat aber keine gültige xml datei ist (z.B.: es ist nur ein a in der Datei). Dann löst LoadXMLDocument eine exeption aus und bringt dies als meldung.</p>
<p>Jetzt möchte ich diese exeption mit try catch abfangen ex funktioniert aber nicht, die exeption schon in der Funktion bearbeitet und angezeigt wird. Er geht zwar in meinen catch block aber das Fenster kommt schon vorher.</p>
<pre><code class="language-cpp">try
{
  XMLDoc = LoadXMLDocument(ODXMLFile-&gt;FileName);            
  if (!XMLDoc-&gt;IsEmptyDoc())
  {

  }
}
catch (...)
{

}
</code></pre>
<p>Wie kann ich das Anzeigen der Exeption in LoadXMLDocument verhindern?</p>
<p>MFG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1210179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1210179</guid><dc:creator><![CDATA[maikhaenig]]></dc:creator><pubDate>Fri, 25 Oct 2013 09:35:21 GMT</pubDate></item><item><title><![CDATA[Reply to LoadXMLDocument und Exeptions on Mon, 15 Jan 2007 12:54:36 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Die Exceptionmeldung kommt nur wenn du dein Programm im Builder startest. Das ist das Standardverhalten des BCB. Ändern kannst du das in Tools/Debuggeroptionen.<br />
Wenn du dein Programm normal von Windows startest, sollte bei dir keine Meldung kommen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1210228</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1210228</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Mon, 15 Jan 2007 12:54:36 GMT</pubDate></item><item><title><![CDATA[Reply to LoadXMLDocument und Exeptions on Tue, 16 Jan 2007 18:30:38 GMT]]></title><description><![CDATA[<p>danke</p>
<p><strong>Edit:</strong><br />
Neue Thematik abgetrennt: <a href="http://c-plusplus.net/forum/viewtopic-var-t-is-170498.html" rel="nofollow">http://c-plusplus.net/forum/viewtopic-var-t-is-170498.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1210344</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1210344</guid><dc:creator><![CDATA[maikhaenig]]></dc:creator><pubDate>Tue, 16 Jan 2007 18:30:38 GMT</pubDate></item></channel></rss>