Home
last modified time | relevance | path

Searched full:domexception (Results 1 – 25 of 880) sorted by relevance

12345678910>>...36

/aosp_15_r20/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMNodeProxy.java32 import org.w3c.dom.DOMException;
229 * @throws DOMException
232 public final void setPrefix(String prefix) throws DOMException in setPrefix()
234 throw new DTMDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR); in setPrefix()
266 //throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR); in supports()
282 // throw new DTMDOMException(DOMException.NOT_SUPPORTED_ERR); in isSupported()
289 * @throws DOMException
292 public final String getNodeValue() throws DOMException in getNodeValue()
300 * @throws DOMException
302 public final String getStringValue() throws DOMException in getStringValue()
[all …]
/aosp_15_r20/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DElementImpl.java20 import org.w3c.dom.DOMException;
220 public void removeAttribute(String name) throws DOMException { in removeAttribute()
229 throws DOMException { in removeAttributeNS()
237 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { in removeAttributeNode()
241 throw new DOMException(DOMException.NOT_FOUND_ERR, null); in removeAttributeNode()
250 public void setAttribute(String name, String value) throws DOMException { in setAttribute()
262 String value) throws DOMException { in setAttributeNS()
273 public Attr setAttributeNode(Attr newAttr) throws DOMException { in setAttributeNode()
277 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in setAttributeNode()
281 throw new DOMException(DOMException.INUSE_ATTRIBUTE_ERR, null); in setAttributeNode()
[all …]
H A DNodeImpl.java26 import org.w3c.dom.DOMException;
74 public Node appendChild(Node newChild) throws DOMException { in appendChild()
75 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in appendChild()
116 public String getNodeValue() throws DOMException { in getNodeValue()
144 public Node insertBefore(Node newChild, Node refChild) throws DOMException { in insertBefore()
145 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in insertBefore()
155 public Node removeChild(Node oldChild) throws DOMException { in removeChild()
156 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in removeChild()
159 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { in replaceChild()
160 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in replaceChild()
[all …]
H A DInnerNodeImpl.java22 import org.w3c.dom.DOMException;
51 public Node appendChild(Node newChild) throws DOMException { in appendChild()
85 public Node insertBefore(Node newChild, Node refChild) throws DOMException { in insertBefore()
93 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in insertBefore()
97 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in insertBefore()
107 Node insertChildAt(Node newChild, int index) throws DOMException { in insertChildAt()
118 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in insertChildAt()
121 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in insertChildAt()
174 public Node removeChild(Node oldChild) throws DOMException { in removeChild()
178 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in removeChild()
[all …]
H A DCharacterDataImpl.java20 import org.w3c.dom.DOMException;
42 public void appendData(String arg) throws DOMException { in appendData()
46 public void deleteData(int offset, int count) throws DOMException { in deleteData()
50 public String getData() throws DOMException { in getData()
70 public void insertData(int offset, String arg) throws DOMException { in insertData()
74 throw new DOMException(DOMException.INDEX_SIZE_ERR, null); in insertData()
79 throws DOMException { in replaceData()
83 throw new DOMException(DOMException.INDEX_SIZE_ERR, null); in replaceData()
87 public void setData(String data) throws DOMException { in setData()
91 public String substringData(int offset, int count) throws DOMException { in substringData()
[all …]
H A DDOMConfigurationImpl.java24 import org.w3c.dom.DOMException;
315 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, in set()
335 public void setParameter(String name, Object value) throws DOMException { in setParameter()
338 throw new DOMException(DOMException.NOT_FOUND_ERR, "No such parameter: " + name); in setParameter()
343 throw new DOMException(DOMException.TYPE_MISMATCH_ERR, in setParameter()
346 throw new DOMException(DOMException.TYPE_MISMATCH_ERR, in setParameter()
351 public Object getParameter(String name) throws DOMException { in getParameter()
354 throw new DOMException(DOMException.NOT_FOUND_ERR, "No such parameter: " + name); in getParameter()
458 throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
H A DDocumentTypeImpl.java19 import org.w3c.dom.DOMException;
47 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName); in DocumentTypeImpl()
56 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName); in DocumentTypeImpl()
60 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName); in DocumentTypeImpl()
64 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName); in DocumentTypeImpl()
110 @Override public String getTextContent() throws DOMException { in getTextContent()
/aosp_15_r20/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DUnImplNode.java29 import org.w3c.dom.DOMException;
92 * @throws DOMException
94 public Node appendChild(Node newChild) throws DOMException in appendChild()
288 * @throws DOMException
290 public Attr removeAttributeNode(Attr oldAttr) throws DOMException in removeAttributeNode()
305 * @throws DOMException
307 public Attr setAttributeNode(Attr newAttr) throws DOMException in setAttributeNode()
369 * @throws DOMException
371 public void removeAttribute(String name) throws DOMException in removeAttribute()
382 * @throws DOMException
[all …]
/aosp_15_r20/external/python/cpython3/Lib/xml/dom/
D__init__.py62 class DOMException(Exception): class
67 if self.__class__ is DOMException:
69 "DOMException should not be instantiated directly")
76 class IndexSizeErr(DOMException):
79 class DomstringSizeErr(DOMException):
82 class HierarchyRequestErr(DOMException):
85 class WrongDocumentErr(DOMException):
88 class InvalidCharacterErr(DOMException):
91 class NoDataAllowedErr(DOMException):
94 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/xml/dom/
D__init__.py62 class DOMException(Exception): class
67 if self.__class__ is DOMException:
69 "DOMException should not be instantiated directly")
76 class IndexSizeErr(DOMException):
79 class DomstringSizeErr(DOMException):
82 class HierarchyRequestErr(DOMException):
85 class WrongDocumentErr(DOMException):
88 class InvalidCharacterErr(DOMException):
91 class NoDataAllowedErr(DOMException):
94 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/external/python/cpython2/Lib/xml/dom/
D__init__.py61 class DOMException(Exception): class
66 if self.__class__ is DOMException:
68 "DOMException should not be instantiated directly")
75 class IndexSizeErr(DOMException):
78 class DomstringSizeErr(DOMException):
81 class HierarchyRequestErr(DOMException):
84 class WrongDocumentErr(DOMException):
87 class InvalidCharacterErr(DOMException):
90 class NoDataAllowedErr(DOMException):
93 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/xml/dom/
D__init__.py62 class DOMException(Exception): class
67 if self.__class__ is DOMException:
69 "DOMException should not be instantiated directly")
76 class IndexSizeErr(DOMException):
79 class DomstringSizeErr(DOMException):
82 class HierarchyRequestErr(DOMException):
85 class WrongDocumentErr(DOMException):
88 class InvalidCharacterErr(DOMException):
91 class NoDataAllowedErr(DOMException):
94 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/xml/dom/
D__init__.py62 class DOMException(Exception): class
67 if self.__class__ is DOMException:
69 "DOMException should not be instantiated directly")
76 class IndexSizeErr(DOMException):
79 class DomstringSizeErr(DOMException):
82 class HierarchyRequestErr(DOMException):
85 class WrongDocumentErr(DOMException):
88 class InvalidCharacterErr(DOMException):
91 class NoDataAllowedErr(DOMException):
94 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/xml/dom/
D__init__.py62 class DOMException(Exception): class
67 if self.__class__ is DOMException:
69 "DOMException should not be instantiated directly")
76 class IndexSizeErr(DOMException):
79 class DomstringSizeErr(DOMException):
82 class HierarchyRequestErr(DOMException):
85 class WrongDocumentErr(DOMException):
88 class InvalidCharacterErr(DOMException):
91 class NoDataAllowedErr(DOMException):
94 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/xml/dom/
H A D__init__.py62 class DOMException(Exception): class
67 if self.__class__ is DOMException:
69 "DOMException should not be instantiated directly")
76 class IndexSizeErr(DOMException):
79 class DomstringSizeErr(DOMException):
82 class HierarchyRequestErr(DOMException):
85 class WrongDocumentErr(DOMException):
88 class InvalidCharacterErr(DOMException):
91 class NoDataAllowedErr(DOMException):
94 class NoModificationAllowedErr(DOMException):
[all …]
/aosp_15_r20/libcore/luni/src/test/java/libcore/javax/xml/transform/dom/
H A DDOMResultTest.java35 import org.w3c.dom.DOMException;
128 public String getNodeValue() throws DOMException { return null; } in getNodeValue()
131 public void setNodeValue(String nodeValue) throws DOMException {} in setNodeValue()
161 public Node insertBefore(Node newChild, Node refChild) throws DOMException { return null; } in insertBefore()
164 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { return null; } in replaceChild()
167 public Node removeChild(Node oldChild) throws DOMException { return null; } in removeChild()
170 public Node appendChild(Node newChild) throws DOMException { return null; } in appendChild()
191 public void setPrefix(String prefix) throws DOMException {} in setPrefix()
203 public short compareDocumentPosition(Node other) throws DOMException { in compareDocumentPosition()
208 public String getTextContent() throws DOMException { return null; } in getTextContent()
[all …]
/aosp_15_r20/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemLiteralResult.java36 import org.w3c.dom.DOMException;
669 * @throws DOMException
671 public Node removeNamedItem(String name) throws DOMException in removeNamedItem()
673 throwDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, in removeNamedItem()
687 * @throws DOMException
690 throws DOMException in removeNamedItemNS()
692 throwDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, in removeNamedItemNS()
705 * @throws DOMException
707 public Node setNamedItem(Node arg) throws DOMException in setNamedItem()
709 throwDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, in setNamedItem()
[all …]
/aosp_15_r20/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DNamedNodeMapSetNamedItemNS.java30 import org.w3c.dom.DOMException;
152 } catch (DOMException ex) { in testSetNamedItemNS3()
153 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetNamedItemNS3()
183 } catch (DOMException ex) { in testSetNamedItemNS4()
184 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetNamedItemNS4()
212 // } catch (DOMException ex) {
213 // success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR);
222 // } catch (DOMException ex) {
223 // success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR);
248 } catch (DOMException ex) { in testSetNamedItemNS6()
[all …]
H A DCreateDocument.java30 import org.w3c.dom.DOMException;
36 * DOMImplementation should raise NAMESPACE_ERR DOMException if parameter
43 * null. Method should raise NAMESPACE_ERR DOMException.
52DOMException']/descr/p[substring-before(.,':')='NAMESPACE_ERR'])">http://www.w3.org/TR/DOM-Level-2…
97 } catch (DOMException ex) { in testCreateDocument1()
98 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument1()
118 } catch (DOMException ex) { in testCreateDocument2()
119 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument2()
139 // } catch (DOMException ex) {
140 // success = (ex.code == DOMException.WRONG_DOCUMENT_ERR);
[all …]
H A DPrefix.java29 import org.w3c.dom.DOMException;
137 } catch (DOMException ex) { in testGetPrefix5()
138 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix5()
155 } catch (DOMException ex) { in _testGetPrefix6()
156 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testGetPrefix6()
173 } catch (DOMException ex) { in testGetPrefix7()
174 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix7()
207 // } catch (DOMException ex) {
208 // success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR);
227 } catch (DOMException ex) { in _testGetPrefix9()
[all …]
H A DNodeSetPrefix.java31 import org.w3c.dom.DOMException;
135 } catch (DOMException ex) { in testSetPrefix3()
136 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix3()
160 // } catch (DOMException ex) {
161 // success = (ex.code == DOMException.NAMESPACE_ERR);
187 } catch (DOMException ex) { in testSetPrefix5()
188 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix5()
205 } catch (DOMException ex) { in testSetPrefix6()
206 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix6()
222 } catch (DOMException ex) { in testSetPrefix7()
[all …]
H A DCreateElementNS.java28 import org.w3c.dom.DOMException;
35 * should raise NAMESPACE_ERR DOMException if qualifiedName is malformed.
40 * should raise NAMESPACE_ERR DOMException.
49DOMException']/descr/p[substring-before(.,':')='NAMESPACE_ERR'])">http://www.w3.org/TR/DOM-Level-2…
91 } catch (DOMException ex) { in testCreateElementNS1()
92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS1()
109 } catch (DOMException ex) { in testCreateElementNS2()
110 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS2()
157 } catch (DOMException ex) { in testCreateElementNS3()
158 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateElementNS3()
[all …]
H A DSetAttributeNS.java28 import org.w3c.dom.DOMException;
35 * INVALID_CHARACTER_ERR DOMException if the specified prefix contains an
48DOMException']/descr/p[substring-before(.,':')='INVALID_CHARACTER_ERR'])">http://www.w3.org/TR/DOM…
94 } catch (DOMException ex) { in testSetAttributeNS1()
95 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testSetAttributeNS1()
117 } catch (DOMException ex) { in testSetAttributeNS2()
155 // } catch (DOMException ex) {
156 // success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR);
223 } catch (DOMException ex) { in testSetAttributeNS6()
224 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS6()
[all …]
/aosp_15_r20/libcore/luni/src/main/java/org/w3c/dom/
H A DElement.java71 * @exception DOMException
79 throws DOMException; in setAttribute()
93 * @exception DOMException
97 throws DOMException; in removeAttribute()
122 * @exception DOMException
132 throws DOMException; in setAttributeNode()
146 * @exception DOMException
152 throws DOMException; in removeAttributeNode()
173 * @exception DOMException
181 throws DOMException; in getAttributeNS()
[all …]
H A DCharacterData.java38 * @exception DOMException
44 throws DOMException; in getData()
53 * @exception DOMException
57 throws DOMException; in setData()
73 * @exception DOMException
83 throws DOMException; in substringData()
90 * @exception DOMException
94 throws DOMException; in appendData()
100 * @exception DOMException
108 throws DOMException; in insertData()
[all …]

12345678910>>...36