Example #1
0
 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();
 }
Example #2
0
 void jasserted(const char *msg, const char *file, unsigned line) {
     log() << "jassert failed " << msg << " " << file << " " << line << endl;
     if ( JavaJS ) JavaJS->printException();
     throw AssertionException();
 }