Temporarily clear exception during ExceptionCaughtEvent.
Temporarily clear exception during ExceptionCaughtEvent.

If there are listeners for the exception caught event, the exception
needs to be cleared since Check JNI checks to make sure there aren't
any pending exceptions. This change clears the thread's exception,
then resets it after the event is sent.

Change-Id: Ib7b5b52dafd73ff41bbdf30b866a8e9e6cd085cc

treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst