Lines Matching refs:file

12  * version 2 for more details (a copy is included in the LICENSE file that
58 void ThreadShadow::set_pending_exception(oop exception, const char* file, int line) {
61 _exception_file = file;
78 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Handle h_exception) {
101 thread->set_pending_exception(Universe::vm_exception(), file, line);
108 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Symbol* h_name, const char* message) {
124 thread->set_pending_exception(Universe::vm_exception(), file, line);
132 void Exceptions::_throw_oop(Thread* thread, const char* file, int line, oop 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) {
149 (address)h_exception(), file, line, thread);
155 if (special_exception(thread, file, line, h_exception)) return;
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);
167 void Exceptions::_throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message,
170 if (special_exception(thread, file, line, name, message)) return;
174 _throw(thread, file, line, h_exception, message);
177 void Exceptions::_throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause,
180 if (special_exception(thread, file, line, name, message)) return;
183 _throw(thread, file, line, h_exception, message);
186 void Exceptions::_throw_cause(Thread* thread, const char* file, int line, Symbol* name, Handle h_cause,
189 if (special_exception(thread, file, line, h_cause)) return;
192 _throw(thread, file, line, h_exception, NULL);
195 void Exceptions::_throw_args(Thread* thread, const char* file, int line, Symbol* name, Symbol* signature, JavaCallArguments *args) {
197 if (special_exception(thread, file, line, name, NULL)) return;
202 _throw(thread, file, line, exception);
207 // NOTE: These must be here (and not in the header file) because of include circularities.
208 void Exceptions::_throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause) {
209 _throw_msg_cause(thread, file, line, name, message, h_cause, Handle(thread, NULL), Handle(thread, NULL));
211 void Exceptions::_throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message) {
212 _throw_msg(thread, file, line, name, message, Handle(thread, NULL), Handle(thread, NULL));
214 void Exceptions::_throw_cause(Thread* thread, const char* file, int line, Symbol* name, Handle h_cause) {
215 _throw_cause(thread, file, line, name, h_cause, Handle(thread, NULL), Handle(thread, NULL));
219 void Exceptions::throw_stack_overflow_exception(Thread* THREAD, const char* file, int line, methodHandle method) {
233 _throw(THREAD, file, line, exception);
236 void Exceptions::fthrow(Thread* thread, const char* file, int line, Symbol* h_name, const char* format, ...) {
244 _throw_msg(thread, file, line, h_name, msg);