< prev index next >
src/hotspot/share/utilities/exceptions.hpp
Print this page
@@ -264,10 +264,13 @@
{ Exceptions::_throw_msg(THREAD_AND_LOCATION, name, NULL); return result; }
#define THROW_MSG_(name, message, result) \
{ Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message); return result; }
+#define THROW_CAUSE_(name, cause, result) \
+ { Exceptions::_throw_cause(THREAD_AND_LOCATION, name, cause); return result; }
+
#define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \
{ Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; }
#define THROW_ARG_(name, signature, args, result) \
{ Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; }
< prev index next >