Fix to Google Issue 212

to know if an uncaught exception is a security exception or usual runtime exception.