diff src/share/vm/utilities/exceptions.hpp @ 1011:fcb148c6b605

6889302: TraceExceptions output should include detail message Reviewed-by: twisti, jrose, kvn
author never
date Tue, 13 Oct 2009 16:29:31 -0700
parents bd02caa94611
children c18cbe5936b8
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.hpp	Tue Oct 13 12:04:21 2009 -0700
+++ b/src/share/vm/utilities/exceptions.hpp	Tue Oct 13 16:29:31 2009 -0700
@@ -103,7 +103,7 @@
   } ExceptionMsgToUtf8Mode;
   // Throw exceptions: w/o message, w/ message & with formatted message.
   static void _throw_oop(Thread* thread, const char* file, int line, oop exception);
-  static void _throw(Thread* thread, const char* file, int line, Handle exception);
+  static void _throw(Thread* thread, const char* file, int line, Handle exception, const char* msg = NULL);
   static void _throw_msg(Thread* thread, const char* file, int line,
                          symbolHandle name, const char* message, Handle loader,
                          Handle protection_domain);