hotspot/src/share/vm/utilities/exceptions.hpp
changeset 2534 08dac9ce0cd7
parent 1 489c9b5090e2
child 3261 c7d5aae8d3f7
--- a/hotspot/src/share/vm/utilities/exceptions.hpp	Wed Apr 08 00:12:59 2009 -0700
+++ b/hotspot/src/share/vm/utilities/exceptions.hpp	Wed Apr 08 10:56:49 2009 -0700
@@ -237,6 +237,9 @@
 #define THROW_ARG_0(name, signature, arg)   THROW_ARG_(name, signature, arg, 0)
 #define THROW_MSG_CAUSE_0(name, message, cause) THROW_MSG_CAUSE_(name, message, cause, 0)
 
+#define THROW_NULL(name)                    THROW_(name, NULL)
+#define THROW_MSG_NULL(name, message)       THROW_MSG_(name, message, NULL)
+
 // The CATCH macro checks that no exception has been thrown by a function; it is used at
 // call sites about which is statically known that the callee cannot throw an exception
 // even though it is declared with TRAPS.