https://bugzilla.novell.com/show_bug.cgi?id=293428#c28
Ladislav Slezak changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lslezak@novell.com
Status|NEEDINFO |NEW
Info Provider|lslezak@novell.com |
--- Comment #28 from Ladislav Slezak 2007-09-13 05:57:53 MST ---
To comment #25:
There is a global catch(...) in pkg-binding evaluation code:
YCPValue Y2PkgFunction::evaluateCall ()
{
ycpmilestone ("Pkg Builtin called: %s", name().c_str() );
try
{
switch (m_position) {
#include "PkgBuiltinCalls.h"
}
}
catch (const std::exception& excpt)
{
y2internal("Caught an unhandled exception: %s", excpt.what());
}
catch (...)
{
y2internal("Caught an unhandled exception");
}
return YCPNull ();
}
"PkgBuiltinCalls.h" is a switch which evaluates the set pkg call.
So yast should not abort due to an uncaught exception because all exceptions
are either caught in the respective binding or caught by this fallback (if the
they are not handled properly).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.