comparison src/share/vm/utilities/exceptions.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents ada0a7729b6f 78bbf4d43a14
children be896a1983c0
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
1 /* 1 /*
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
155 JavaCallArguments* args); 155 JavaCallArguments* args);
156 156
157 // There is no THROW... macro for this method. Caller should remember 157 // There is no THROW... macro for this method. Caller should remember
158 // to do a return after calling it. 158 // to do a return after calling it.
159 static void fthrow(Thread* thread, const char* file, int line, Symbol* name, 159 static void fthrow(Thread* thread, const char* file, int line, Symbol* name,
160 const char* format, ...); 160 const char* format, ...) ATTRIBUTE_PRINTF(5, 6);
161 161
162 // Create and initialize a new exception 162 // Create and initialize a new exception
163 static Handle new_exception(Thread* thread, Symbol* name, 163 static Handle new_exception(Thread* thread, Symbol* name,
164 Symbol* signature, JavaCallArguments* args, 164 Symbol* signature, JavaCallArguments* args,
165 Handle loader, Handle protection_domain); 165 Handle loader, Handle protection_domain);