218 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return; } 219 220 #define THROW_HANDLE(e) \ 221 { Exceptions::_throw(THREAD_AND_LOCATION, e); return; } 222 223 #define THROW(name) \ 224 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, NULL); return; } 225 226 #define THROW_MSG(name, message) \ 227 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message); return; } 228 229 #define THROW_CAUSE(name, cause) \ 230 { Exceptions::_throw_cause(THREAD_AND_LOCATION, name, cause); return; } 231 232 #define THROW_MSG_LOADER(name, message, loader, protection_domain) \ 233 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return; } 234 235 #define THROW_ARG(name, signature, args) \ 236 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return; } 237 238 #define THROW_MSG_CAUSE(name, message, cause) \ 239 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; } 240 241 #define THROW_OOP_(e, result) \ 242 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; } 243 244 #define THROW_HANDLE_(e, result) \ 245 { Exceptions::_throw(THREAD_AND_LOCATION, e); return result; } 246 247 #define THROW_(name, result) \ 248 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, NULL); return result; } 249 250 #define THROW_MSG_(name, message, result) \ 251 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message); return result; } 252 253 #define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \ 254 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; } 255 256 #define THROW_ARG_(name, signature, args, result) \ 257 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; } 258 259 #define THROW_MSG_CAUSE(name, message, cause) \ 260 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; } | 218 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return; } 219 220 #define THROW_HANDLE(e) \ 221 { Exceptions::_throw(THREAD_AND_LOCATION, e); return; } 222 223 #define THROW(name) \ 224 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, NULL); return; } 225 226 #define THROW_MSG(name, message) \ 227 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message); return; } 228 229 #define THROW_CAUSE(name, cause) \ 230 { Exceptions::_throw_cause(THREAD_AND_LOCATION, name, cause); return; } 231 232 #define THROW_MSG_LOADER(name, message, loader, protection_domain) \ 233 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return; } 234 235 #define THROW_ARG(name, signature, args) \ 236 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return; } 237 238 #define THROW_OOP_(e, result) \ 239 { Exceptions::_throw_oop(THREAD_AND_LOCATION, e); return result; } 240 241 #define THROW_HANDLE_(e, result) \ 242 { Exceptions::_throw(THREAD_AND_LOCATION, e); return result; } 243 244 #define THROW_(name, result) \ 245 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, NULL); return result; } 246 247 #define THROW_MSG_(name, message, result) \ 248 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message); return result; } 249 250 #define THROW_MSG_LOADER_(name, message, loader, protection_domain, result) \ 251 { Exceptions::_throw_msg(THREAD_AND_LOCATION, name, message, loader, protection_domain); return result; } 252 253 #define THROW_ARG_(name, signature, args, result) \ 254 { Exceptions::_throw_args(THREAD_AND_LOCATION, name, signature, args); return result; } 255 256 #define THROW_MSG_CAUSE(name, message, cause) \ 257 { Exceptions::_throw_msg_cause(THREAD_AND_LOCATION, name, message, cause); return; } |