We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IllegalArgumentException
Error
1 parent 5695aaa commit ce319b1Copy full SHA for ce319b1
lib/sax/TreeParser.js
@@ -30,7 +30,7 @@ function TreeParser(contentHandler, lexicalHandler){
30
this.locatorDelegate;
31
32
if (!contentHandler) {
33
- throw new IllegalArgumentException("contentHandler was null.");
+ throw new Error("contentHandler was null.");
34
}
35
this.contentHandler = contentHandler;
36
if (!lexicalHandler) {
0 commit comments