< prev index next >

src/java.desktop/share/classes/java/awt/Toolkit.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 449,459 **** /** * 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; --- 449,459 ---- /** * Rethrow the AWTError but include the cause. * * @param s the error message * @param e the original exception ! * @throws AWTError 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 >