[odb-users] libc++abi.dylib: terminating with uncaught foreign exception

Boris Kolpackov boris at codesynthesis.com
Tue Oct 14 01:26:53 EDT 2014


Hi Adnan,

Adnan RIHAN <axel50397 at gmail.com> writes:

> Today I’m in another situation, the “uncaught” exception is now 
> “uncaught foreign exception” and I can’t find an exception related 
> to “foreign keys”.
> 
> > catch (const odb::exception &e) {
> >   qDebug() << "ODB Exception:" << e.what();
> > }

ODB doesn't have any exceptions that would return "uncaught foreign
exception" string. What is the *exact* text that is printed by the
above catch-block? Generally, when asking for help, always provide
the exact error messages, not your interpretation of them.

Boris



More information about the odb-users mailing list