- From: Richard Emberson <emberson@faslab.com>
- Date: Wed, 26 Aug 1998 10:00:56 -0700
- To: www-dom@w3.org
- Cc: emberson@berkeley.faslab.com
DOMExceptions are thrown for a variety of reasons. What is thrown when a parameter to a method is null? For instance, in the method appendChild in the Node interface, what happens when newChild == null? public Node appendChild(Node newChild) { .... } Before the WRONG_DOCUMENT_ERR condition can be tested one must first make sure the argument is not null. Richard Emberson
Received on Wednesday, 26 August 1998 13:00:28 UTC