[Top][All Lists]
[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!
- [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/10
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/10
- Re: [Gnash-dev] std::bad_cast, Benjamin Wolsey, 2009/05/10
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/11
- Re: [Gnash-dev] std::bad_cast, Benjamin Wolsey, 2009/05/11
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/11
- Re: [Gnash-dev] std::bad_cast, Benjamin Wolsey, 2009/05/11
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/11
- Re: [Gnash-dev] std::bad_cast,
strk <=
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/12
- Re: [Gnash-dev] std::bad_cast, Benjamin Wolsey, 2009/05/12
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/13
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/14
- Re: [Gnash-dev] std::bad_cast, Richard Wilbur, 2009/05/14
- Re: [Gnash-dev] std::bad_cast, Rob Savoye, 2009/05/14
- Re: [Gnash-dev] std::bad_cast, Benjamin Wolsey, 2009/05/14
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/15
- Re: [Gnash-dev] std::bad_cast, Benjamin Wolsey, 2009/05/15
- Re: [Gnash-dev] std::bad_cast, Andrea Palmatè, 2009/05/24