<?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[Problem mit Exception]]></title><description><![CDATA[<p>Hallo Leute<br />
Nach meinem Verständnis von Exceptions, müsste bei folgendem Code die Meldung:</p>
<blockquote>
<p>In Project1.exe ist eine Exception der Klasse FTPException aufgetreten. Meldung: `530 Login incorrect.</p>
</blockquote>
<p>unterdrückt werden und statt dessen <strong>meine</strong> Message</p>
<blockquote>
<p>UserId oder Passwort falsch</p>
</blockquote>
<p>angezeigt werden. Es werden aber <strong>nacheinander beide</strong> angezeigt.<br />
Was mache ich falsch?</p>
<pre><code class="language-cpp">void __fastcall TForm1::VerbindenClick(TObject *Sender)
{
  NMFTP1-&gt;Host = HostTxt-&gt;Text;
  NMFTP1-&gt;Port = StrToInt(PortTxt-&gt;Text);
  NMFTP1-&gt;UserID = UserTxt-&gt;Text;
  NMFTP1-&gt;Password = PassTxt-&gt;Text;
try{
  NMFTP1-&gt;Connect();
}
catch (...)
{
ShowMessage(&quot;UserId oder Passwort falsch&quot;);
}
}
</code></pre>
<p>Hoffe, mir kann jemand auf die Sprünge helfen...<br />
Danke<br />
wNw</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/137246/problem-mit-exception</link><generator>RSS for Node</generator><lastBuildDate>Sun, 02 Aug 2026 07:50:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/137246.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Feb 2006 09:57:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit Exception on Thu, 16 Feb 2006 09:57:25 GMT]]></title><description><![CDATA[<p>Hallo Leute<br />
Nach meinem Verständnis von Exceptions, müsste bei folgendem Code die Meldung:</p>
<blockquote>
<p>In Project1.exe ist eine Exception der Klasse FTPException aufgetreten. Meldung: `530 Login incorrect.</p>
</blockquote>
<p>unterdrückt werden und statt dessen <strong>meine</strong> Message</p>
<blockquote>
<p>UserId oder Passwort falsch</p>
</blockquote>
<p>angezeigt werden. Es werden aber <strong>nacheinander beide</strong> angezeigt.<br />
Was mache ich falsch?</p>
<pre><code class="language-cpp">void __fastcall TForm1::VerbindenClick(TObject *Sender)
{
  NMFTP1-&gt;Host = HostTxt-&gt;Text;
  NMFTP1-&gt;Port = StrToInt(PortTxt-&gt;Text);
  NMFTP1-&gt;UserID = UserTxt-&gt;Text;
  NMFTP1-&gt;Password = PassTxt-&gt;Text;
try{
  NMFTP1-&gt;Connect();
}
catch (...)
{
ShowMessage(&quot;UserId oder Passwort falsch&quot;);
}
}
</code></pre>
<p>Hoffe, mir kann jemand auf die Sprünge helfen...<br />
Danke<br />
wNw</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995540</guid><dc:creator><![CDATA[wNw]]></dc:creator><pubDate>Thu, 16 Feb 2006 09:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Exception on Thu, 16 Feb 2006 10:26:38 GMT]]></title><description><![CDATA[<p>Danke, hat sich erledigt.<br />
Habe in den FAQs unter:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39264.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-39264.html</a><br />
die Lösung gefunden.<br />
(Problem tritt bei aufruf der Project.exe ohne Compiler nicht mehr auf)<br />
Danke<br />
wNw</p>
]]></description><link>https://www.c-plusplus.net/forum/post/995566</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/995566</guid><dc:creator><![CDATA[wNw]]></dc:creator><pubDate>Thu, 16 Feb 2006 10:26:38 GMT</pubDate></item></channel></rss>