isExceptionThrown

A convenient way to check for pending exceptions without creating a local reference to the exception object.

true when there is a pending exception, false otherwise.