hotspot/src/share/vm/utilities/exceptions.hpp
changeset 13391 30245956af37
parent 13195 be27e1b6a4b9
child 13396 1b2b5f740ee0
equal deleted inserted replaced
13309:50c604cb0d5f 13391:30245956af37
   218   { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return;  }
   218   { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return;  }
   219 
   219 
   220 #define THROW_ARG(name, signature, args) \
   220 #define THROW_ARG(name, signature, args) \
   221   { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args);   return; }
   221   { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args);   return; }
   222 
   222 
       
   223 #define THROW_MSG_CAUSE(name, message, cause) \
       
   224   { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; }
       
   225 
   223 #define THROW_OOP_(e, result)                       \
   226 #define THROW_OOP_(e, result)                       \
   224   { Exceptions::_throw_oop(THREAD_AND_LOCATION, e);                           return result; }
   227   { Exceptions::_throw_oop(THREAD_AND_LOCATION, e);                           return result; }
   225 
   228 
   226 #define THROW_HANDLE_(e, result)                       \
   229 #define THROW_HANDLE_(e, result)                       \
   227   { Exceptions::_throw(THREAD_AND_LOCATION, e);                           return result; }
   230   { Exceptions::_throw(THREAD_AND_LOCATION, e);                           return result; }
   235 #define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \
   238 #define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \
   236   { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; }
   239   { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; }
   237 
   240 
   238 #define THROW_ARG_(name, signature, args, result) \
   241 #define THROW_ARG_(name, signature, args, result) \
   239   { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; }
   242   { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; }
       
   243 
       
   244 #define THROW_MSG_CAUSE(name, message, cause)   \
       
   245   { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; }
   240 
   246 
   241 #define THROW_MSG_CAUSE_(name, message, cause, result)   \
   247 #define THROW_MSG_CAUSE_(name, message, cause, result)   \
   242   { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return result; }
   248   { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return result; }
   243 
   249 
   244 
   250