1783 if (HAS_PENDING_EXCEPTION) { |
1783 if (HAS_PENDING_EXCEPTION) { |
1784 ResourceMark rm(this); |
1784 ResourceMark rm(this); |
1785 jio_fprintf(defaultStream::error_stream(), |
1785 jio_fprintf(defaultStream::error_stream(), |
1786 "\nException: %s thrown from the UncaughtExceptionHandler" |
1786 "\nException: %s thrown from the UncaughtExceptionHandler" |
1787 " in thread \"%s\"\n", |
1787 " in thread \"%s\"\n", |
1788 Klass::cast(pending_exception()->klass())->external_name(), |
1788 pending_exception()->klass()->external_name(), |
1789 get_thread_name()); |
1789 get_thread_name()); |
1790 CLEAR_PENDING_EXCEPTION; |
1790 CLEAR_PENDING_EXCEPTION; |
1791 } |
1791 } |
1792 } |
1792 } |
1793 } |
1793 } |