/[classpath]/classpath/gnu/xml/dom/DomIterator.java
ViewVC logotype

Diff of /classpath/gnu/xml/dom/DomIterator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by gnu_andrew, Sun Jan 16 15:15:09 2005 UTC revision 1.1.2.2 by gnu_andrew, Wed Feb 16 01:11:41 2005 UTC
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package gnu.xml.dom;  package gnu.xml.dom;
39    
40  import java.util.Vector;  import org.w3c.dom.DOMException;
   
41  import org.w3c.dom.Node;  import org.w3c.dom.Node;
42  import org.w3c.dom.events.Event;  import org.w3c.dom.events.Event;
43  import org.w3c.dom.events.EventListener;  import org.w3c.dom.events.EventListener;
# Line 76  public final class DomIterator Line 75  public final class DomIterator
75    {    {
76      if (!root.isSupported("MutationEvents", "2.0"))      if (!root.isSupported("MutationEvents", "2.0"))
77        {        {
78          throw new DomEx(DomEx.NOT_SUPPORTED_ERR,          throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR,
79                          "Iterator needs mutation events", root, 0);                          "Iterator needs mutation events", root, 0);
80        }        }
81                    
# Line 154  public final class DomIterator Line 153  public final class DomIterator
153    {    {
154      if (done)      if (done)
155        {        {
156          throw new DomEx(DomEx.INVALID_STATE_ERR);          throw new DomDOMException(DOMException.INVALID_STATE_ERR);
157        }        }
158      right = true;      right = true;
159      return walk(true);      return walk(true);
# Line 171  public final class DomIterator Line 170  public final class DomIterator
170    {    {
171      if (done)      if (done)
172        {        {
173          throw new DomEx(DomEx.INVALID_STATE_ERR);          throw new DomDOMException(DOMException.INVALID_STATE_ERR);
174        }        }
175      Node previous = reference;      Node previous = reference;
176      right = false;      right = false;

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26