diff --git a/jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java b/jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java index 97d20767055..3788fad0227 100644 --- a/jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java +++ b/jaxp/src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java @@ -49,7 +49,7 @@ public interface XMLEventReader extends Iterator { * Get the next XMLEvent * @see XMLEvent * @throws XMLStreamException if there is an error with the underlying XML. - * @throws NoSuchElementException iteration has no more elements. + * @throws java.util.NoSuchElementException iteration has no more elements. */ public XMLEvent nextEvent() throws XMLStreamException; diff --git a/jaxp/src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java b/jaxp/src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java index 4f980121988..338b5cbff72 100644 --- a/jaxp/src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java +++ b/jaxp/src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java @@ -170,7 +170,7 @@ public interface XMLEvent extends javax.xml.stream.XMLStreamConstants { * infoset expressed. * * @param writer The writer that will output the data - * @throws XMLStreamException if there is a fatal error writing the event + * @throws javax.xml.stream.XMLStreamException if there is a fatal error writing the event */ public void writeAsEncodedUnicode(Writer writer) throws javax.xml.stream.XMLStreamException;