gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] std::bad_cast


From: strk
Subject: Re: [Gnash-dev] std::bad_cast
Date: Tue, 12 May 2009 12:15:36 +0200

On Mon, May 11, 2009 at 05:31:45PM -0400, Benjamin Wolsey wrote:
> 
> >     catch (...) // unexpected, unknown, but why not cleaning up...
> 
> The answer to the question in the comment is that it hides bugs in
> implementation or in Gnash.

Note that the catch block re-throws, so shouldn't really hide anything
(at least as of revno 10865)

    catch (std::exception& ex) // unexpected but we can tell what it is
    {
        log_debug("Unexpected exception from swf_function execution: %s",
                ex.what());
        throw;
    }
    catch (...) // unexpected, unknown, but why not cleaning up...
    {
        log_debug("Unknown exception got from swf_function execution");
        throw;
    }

--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]