< prev index next >
src/java.desktop/share/classes/java/awt/Toolkit.java
Print this page
*** 446,456 ****
/**
* Rethrow the AWTError but include the cause.
*
* @param s the error message
* @param e the original exception
! * @throw the new AWTError including the cause (the original exception)
*/
private static void newAWTError(Throwable e, String s) {
AWTError newAWTError = new AWTError(s);
newAWTError.initCause(e);
throw newAWTError;
--- 446,456 ----
/**
* Rethrow the AWTError but include the cause.
*
* @param s the error message
* @param e the original exception
! * @throws the new AWTError including the cause (the original exception)
*/
private static void newAWTError(Throwable e, String s) {
AWTError newAWTError = new AWTError(s);
newAWTError.initCause(e);
throw newAWTError;
< prev index next >