101 safe_to_utf8 = 0, |
101 safe_to_utf8 = 0, |
102 unsafe_to_utf8 = 1 |
102 unsafe_to_utf8 = 1 |
103 } ExceptionMsgToUtf8Mode; |
103 } ExceptionMsgToUtf8Mode; |
104 // Throw exceptions: w/o message, w/ message & with formatted message. |
104 // Throw exceptions: w/o message, w/ message & with formatted message. |
105 static void _throw_oop(Thread* thread, const char* file, int line, oop exception); |
105 static void _throw_oop(Thread* thread, const char* file, int line, oop exception); |
106 static void _throw(Thread* thread, const char* file, int line, Handle exception); |
106 static void _throw(Thread* thread, const char* file, int line, Handle exception, const char* msg = NULL); |
107 static void _throw_msg(Thread* thread, const char* file, int line, |
107 static void _throw_msg(Thread* thread, const char* file, int line, |
108 symbolHandle name, const char* message, Handle loader, |
108 symbolHandle name, const char* message, Handle loader, |
109 Handle protection_domain); |
109 Handle protection_domain); |
110 static void _throw_msg(Thread* thread, const char* file, int line, |
110 static void _throw_msg(Thread* thread, const char* file, int line, |
111 symbolOop name, const char* message); |
111 symbolOop name, const char* message); |