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

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

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

revision 1.1 by mark, Thu Dec 23 22:38:43 2004 UTC revision 1.2 by dog, Thu Feb 10 17:21:25 2005 UTC
# Line 99  class DomDocumentConfiguration Line 99  class DomDocumentConfiguration
99            }            }
100          catch (ClassCastException e)          catch (ClassCastException e)
101            {            {
102              throw new DomEx(DomEx.TYPE_MISMATCH_ERR,              throw new DomDOMException(DOMException.TYPE_MISMATCH_ERR,
103                              value.getClass().getName(), null, 0);                                        value.getClass().getName(), null, 0);
104            }            }
105        }        }
106      else if ("namespace-declarations".equals(name))      else if ("namespace-declarations".equals(name))
# Line 140  class DomDocumentConfiguration Line 140  class DomDocumentConfiguration
140        }        }
141      else      else
142        {        {
143          throw new DomEx(DomEx.NOT_SUPPORTED_ERR, name, null, 0);          throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR,
144                                      name, null, 0);
145        }        }
146    }    }
147    
# Line 197  class DomDocumentConfiguration Line 198  class DomDocumentConfiguration
198              namespaceDeclarations == true &&              namespaceDeclarations == true &&
199              comments == true) ? Boolean.TRUE : Boolean.FALSE;              comments == true) ? Boolean.TRUE : Boolean.FALSE;
200        }        }
201      throw new DomEx(DomEx.NOT_SUPPORTED_ERR, name, null, 0);      throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR, name, null, 0);
202    }    }
203    
204    public boolean canSetParameter(String name, Object value)    public boolean canSetParameter(String name, Object value)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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