< prev index next >


Print this page


@@ -184,11 +184,11 @@
   static void debug_check_abort(Handle exception, const char* message = NULL);
   static void debug_check_abort_helper(Handle exception, const char* message = NULL);
   static void debug_check_abort(const char *value_string, const char* message = NULL);
   // for logging exceptions
-  static void log_exception(Handle exception, const char* message);
+  static void log_exception(Handle exception, stringStream tempst);
 // The THREAD & TRAPS macros facilitate the declaration of functions that throw exceptions.
 // Convention: Use the TRAPS macro as the last argument of such a function; e.g.:

@@ -235,11 +235,15 @@
 // The THROW... macros should be used to throw an exception. They require a THREAD variable to be
 // visible within the scope containing the THROW. Usually this is achieved by declaring the function
 // with a TRAPS argument.
+#ifdef THIS_FILE
+#define THREAD_AND_LOCATION                      THREAD, THIS_FILE, __LINE__
 #define THREAD_AND_LOCATION                      THREAD, __FILE__, __LINE__
 #define THROW_OOP(e)                                \
   { Exceptions::_throw_oop(THREAD_AND_LOCATION, e);                             return;  }
 #define THROW_HANDLE(e)                                \
< prev index next >