< prev index next >

src/java.xml/share/classes/org/xml/sax/ext/Attributes2.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 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

@@ -59,11 +59,11 @@
      * and those that were not (and which are never valid).
      *
      * @param index The attribute index (zero-based).
      * @return true if the attribute was declared in the DTD,
      *          false otherwise.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not identify an attribute.
      */
     public boolean isDeclared (int index);
 
     /**

@@ -73,11 +73,11 @@
      * and those that were not (and which are never valid).
      *
      * @param qName The XML qualified (prefixed) name.
      * @return true if the attribute was declared in the DTD,
      *          false otherwise.
-     * @exception java.lang.IllegalArgumentException When the
+     * @throws java.lang.IllegalArgumentException When the
      *            supplied name does not identify an attribute.
      */
     public boolean isDeclared (String qName);
 
     /**

@@ -94,11 +94,11 @@
      * @param uri The Namespace URI, or the empty string if
      *        the name has no Namespace URI.
      * @param localName The attribute's local name.
      * @return true if the attribute was declared in the DTD,
      *          false otherwise.
-     * @exception java.lang.IllegalArgumentException When the
+     * @throws java.lang.IllegalArgumentException When the
      *            supplied names do not identify an attribute.
      */
     public boolean isDeclared (String uri, String localName);
 
     /**

@@ -106,11 +106,11 @@
      * by DTD defaulting.
      *
      * @param index The attribute index (zero-based).
      * @return true if the value was found in the XML text,
      *          false if the value was provided by DTD defaulting.
-     * @exception java.lang.ArrayIndexOutOfBoundsException When the
+     * @throws java.lang.ArrayIndexOutOfBoundsException When the
      *            supplied index does not identify an attribute.
      */
     public boolean isSpecified (int index);
 
     /**

@@ -125,11 +125,11 @@
      * @param uri The Namespace URI, or the empty string if
      *        the name has no Namespace URI.
      * @param localName The attribute's local name.
      * @return true if the value was found in the XML text,
      *          false if the value was provided by DTD defaulting.
-     * @exception java.lang.IllegalArgumentException When the
+     * @throws java.lang.IllegalArgumentException When the
      *            supplied names do not identify an attribute.
      */
     public boolean isSpecified (String uri, String localName);
 
     /**

@@ -137,10 +137,10 @@
      * by DTD defaulting.
      *
      * @param qName The XML qualified (prefixed) name.
      * @return true if the value was found in the XML text,
      *          false if the value was provided by DTD defaulting.
-     * @exception java.lang.IllegalArgumentException When the
+     * @throws java.lang.IllegalArgumentException When the
      *            supplied name does not identify an attribute.
      */
     public boolean isSpecified (String qName);
 }
< prev index next >