src/share/classes/javax/imageio/metadata/IIOMetadataNode.java

Print this page

        

@@ -303,10 +303,13 @@
     }
 
     /**
      * Check that the node is either <code>null</code> or an
      * <code>IIOMetadataNode</code>.
+     *
+     * @throws DOMException if {@code node} is not {@code null} and not an
+     * instance of {@code IIOMetadataNode}
      */
     private void checkNode(Node node) throws DOMException {
         if (node == null) {
             return;
         }