Lines Matching defs:h_exception

78 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Handle h_exception) {
81 vm_exit_during_initialization(h_exception);
90 if (h_exception()->klass() == SystemDictionary::StackOverflowError_klass()) {
91 instanceKlass* ik = instanceKlass::cast(h_exception->klass());
134 Handle h_exception = Handle(thread, exception);
135 _throw(thread, file, line, h_exception);
138 void Exceptions::_throw(Thread* thread, const char* file, int line, Handle h_exception, const char* message) {
139 assert(h_exception() != NULL, "exception should not be NULL");
147 h_exception->print_value_string(),
149 (address)h_exception(), file, line, thread);
152 NOT_PRODUCT(Exceptions::debug_check_abort(h_exception, message));
155 if (special_exception(thread, file, line, h_exception)) return;
157 assert(h_exception->is_a(SystemDictionary::Throwable_klass()), "exception is not a subclass of java/lang/Throwable");
160 thread->set_pending_exception(h_exception(), file, line);
163 Events::log_exception(thread, "Threw " INTPTR_FORMAT " at %s:%d", (address)h_exception(), file, line);
173 Handle h_exception = new_exception(thread, name, message, h_cause, h_loader, h_protection_domain);
174 _throw(thread, file, line, h_exception, message);
182 Handle h_exception = new_exception(thread, name, message, h_cause, h_loader, h_protection_domain);
183 _throw(thread, file, line, h_exception, message);
191 Handle h_exception = new_exception(thread, name, h_cause, h_loader, h_protection_domain);
192 _throw(thread, file, line, h_exception, NULL);
257 Handle h_exception;
269 h_exception = klass->allocate_instance_handle(thread);
272 args->set_receiver(h_exception);
285 h_exception = Handle(thread, thread->pending_exception());
288 return h_exception;
298 Handle h_exception = new_exception(thread, name, signature, args, h_loader, h_protection_domain);
306 args1.set_receiver(h_exception);
308 JavaCalls::call_virtual(&result1, h_exception->klass(),
317 h_exception = Handle(thread, thread->pending_exception());
320 return h_exception;