< prev index next >

src/java.xml/share/classes/org/xml/sax/helpers/AttributesImpl.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -415,11 +415,11 @@
      *        Namespace processing is not being performed.
      * @param qName The qualified name, or the empty string
      *        if qualified names are not available.
      * @param type The attribute type as a string.
      * @param value The attribute value.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void setAttribute (int index, String uri, String localName,
                               String qName, String type, String value)

@@ -438,11 +438,11 @@
 
     /**
      * Remove an attribute from the list.
      *
      * @param index The index of the attribute (zero-based).
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void removeAttribute (int index)
     {

@@ -468,11 +468,11 @@
      * Set the Namespace URI of a specific attribute.
      *
      * @param index The index of the attribute (zero-based).
      * @param uri The attribute's Namespace URI, or the empty
      *        string for none.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void setURI (int index, String uri)
     {

@@ -488,11 +488,11 @@
      * Set the local name of a specific attribute.
      *
      * @param index The index of the attribute (zero-based).
      * @param localName The attribute's local name, or the empty
      *        string for none.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void setLocalName (int index, String localName)
     {

@@ -508,11 +508,11 @@
      * Set the qualified name of a specific attribute.
      *
      * @param index The index of the attribute (zero-based).
      * @param qName The attribute's qualified name, or the empty
      *        string for none.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void setQName (int index, String qName)
     {

@@ -527,11 +527,11 @@
     /**
      * Set the type of a specific attribute.
      *
      * @param index The index of the attribute (zero-based).
      * @param type The attribute's type.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void setType (int index, String type)
     {

@@ -546,11 +546,11 @@
     /**
      * Set the value of a specific attribute.
      *
      * @param index The index of the attribute (zero-based).
      * @param value The attribute's value.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not point to an attribute
      *            in the list.
      */
     public void setValue (int index, String value)
     {

@@ -602,11 +602,11 @@
 
     /**
      * Report a bad array index in a manipulator.
      *
      * @param index The index to report.
-     * @exception java.lang.ArrayIndexOutOfBoundsException Always.
+     * @throws java.lang.ArrayIndexOutOfBoundsException Always.
      */
     private void badIndex (int index)
         throws ArrayIndexOutOfBoundsException
     {
         String msg =
< prev index next >