void asserted(const char *msg, const char *file, unsigned line) { problem() << "Assertion failure " << msg << ' ' << file << ' ' << dec << line << endl; sayDbContext(); raiseError(msg && *msg ? msg : "assertion failure"); lastAssert[0].set(msg, getDbContext().c_str(), file, line); throw AssertionException(); }
void jasserted(const char *msg, const char *file, unsigned line) { log() << "jassert failed " << msg << " " << file << " " << line << endl; if ( JavaJS ) JavaJS->printException(); throw AssertionException(); }