[mojo]: Add a way to handle unhandled RuntimeExceptions
am: 1fef1a6783

Change-Id: I7674a6651149e599af532b396b53a5722fc603bc