<?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[Programm bricht bei throw unter Linux sles10 ab...]]></title><description><![CDATA[<p>Hallo ,</p>
<p>folgender Code läuft unter Windows ( Umgebung .Net C++ )<br />
und bricht unter Linux SLES10 ab.</p>
<pre><code class="language-cpp">void MTibcoEmpfaengerListener::VerarbeiteMessage( const MEvent&amp; refEvent ) 
{ 
    eFehler = MessageExceptionEvent( refEvent ); 
    try{ 
         poOutputData = GibInstance( refEvent , poOutputData ); 
       poInstance = MInstance::downCast( poOutputData ); 
    }    
    catch( MException&amp; eException ){ 
             eFehler = &quot;Mitteilung beschädigt&quot; ; 
    } 
    catch(...){ 
             eFehler = &quot;Mitteilung beschädigt&quot;;    }    

        if( eFehler.IsError() ) { 
         throw eFehler; 
        }
</code></pre>
<p>Beim throw eFehler; bricht das Programm unter Linux hart ab.</p>
<p>Hat jemand bereits ähnliche Erfahrungen gemacht ?<br />
Und was kann man da machen ?</p>
<p>Grüße,<br />
Elke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/211524/programm-bricht-bei-throw-unter-linux-sles10-ab</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 06:26:11 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/211524.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Apr 2008 09:22:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Programm bricht bei throw unter Linux sles10 ab... on Thu, 24 Apr 2008 09:22:23 GMT]]></title><description><![CDATA[<p>Hallo ,</p>
<p>folgender Code läuft unter Windows ( Umgebung .Net C++ )<br />
und bricht unter Linux SLES10 ab.</p>
<pre><code class="language-cpp">void MTibcoEmpfaengerListener::VerarbeiteMessage( const MEvent&amp; refEvent ) 
{ 
    eFehler = MessageExceptionEvent( refEvent ); 
    try{ 
         poOutputData = GibInstance( refEvent , poOutputData ); 
       poInstance = MInstance::downCast( poOutputData ); 
    }    
    catch( MException&amp; eException ){ 
             eFehler = &quot;Mitteilung beschädigt&quot; ; 
    } 
    catch(...){ 
             eFehler = &quot;Mitteilung beschädigt&quot;;    }    

        if( eFehler.IsError() ) { 
         throw eFehler; 
        }
</code></pre>
<p>Beim throw eFehler; bricht das Programm unter Linux hart ab.</p>
<p>Hat jemand bereits ähnliche Erfahrungen gemacht ?<br />
Und was kann man da machen ?</p>
<p>Grüße,<br />
Elke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1497303</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1497303</guid><dc:creator><![CDATA[elke300]]></dc:creator><pubDate>Thu, 24 Apr 2008 09:22:23 GMT</pubDate></item><item><title><![CDATA[Reply to Programm bricht bei throw unter Linux sles10 ab... on Thu, 24 Apr 2008 09:33:31 GMT]]></title><description><![CDATA[<blockquote>
<p>Und was kann man da machen ?</p>
</blockquote>
<p>Die Exception fangen?</p>
<p>Das Problem liegt nicht im geposteten Code. Ein throw kann hart abbrechen (std::terminate aufrufen). Interessant ist also der umliegende catch-Block. Aber der Typ von eFehler wäre noch interessant.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1497309</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1497309</guid><dc:creator><![CDATA[LordJaxom]]></dc:creator><pubDate>Thu, 24 Apr 2008 09:33:31 GMT</pubDate></item></channel></rss>