--- old/src/java.xml/share/classes/org/xml/sax/DocumentHandler.java 2020-08-25 18:28:48.993188958 +0000 +++ new/src/java.xml/share/classes/org/xml/sax/DocumentHandler.java 2020-08-25 18:28:48.670172426 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2020, 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 @@ -95,7 +95,7 @@ * other methods in this interface or in DTDHandler (except for * setDocumentLocator).

* - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. */ public abstract void startDocument () @@ -111,7 +111,7 @@ * (because of an unrecoverable error) or reached the end of * input.

* - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. */ public abstract void endDocument () @@ -135,7 +135,7 @@ * * @param name The element type name. * @param atts The attributes attached to the element, if any. - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * @see #endElement * @see org.xml.sax.AttributeList @@ -156,7 +156,7 @@ * still be attached to the name.

* * @param name The element type name - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. */ public abstract void endElement (String name) @@ -183,7 +183,7 @@ * @param ch The characters from the XML document. * @param start The start position in the array. * @param length The number of characters to read from the array. - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * @see #ignorableWhitespace * @see org.xml.sax.Locator @@ -212,7 +212,7 @@ * @param ch The characters from the XML document. * @param start The start position in the array. * @param length The number of characters to read from the array. - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. * @see #characters */ @@ -234,7 +234,7 @@ * @param target The processing instruction target. * @param data The processing instruction data, or null if * none was supplied. - * @exception org.xml.sax.SAXException Any SAX exception, possibly + * @throws org.xml.sax.SAXException Any SAX exception, possibly * wrapping another exception. */ public abstract void processingInstruction (String target, String data)