Merge remote-tracking branch 'origin/topic/robin/interpreter-exceptions'

* origin/topic/robin/interpreter-exceptions:
  Adding test for new error handling.
  Experimental code to better handle interpreter errors.

This seems to work fine and it catches some potentially nasty crashes
so I'm merging it in even though it's not the final word on error
handling yet. #646 tracks the work scheduled for later.
This commit is contained in:
Robin Sommer 2011-10-21 09:58:45 -07:00
commit c8dfdb4492
18 changed files with 239 additions and 42 deletions

View file

@ -2809,7 +2809,13 @@ void RemoteSerializer::GotFunctionCall(const char* name, double time,
return;
}
function->Call(args);
try
{
function->Call(args);
}
catch ( InterpreterException& e )
{ /* Already reported. */ }
}
void RemoteSerializer::GotID(ID* id, Val* val)