24
24
import org .htmlunit .cssparser .parser .javacc .CharStream ;
25
25
import org .htmlunit .cssparser .parser .javacc .ParseException ;
26
26
import org .htmlunit .cssparser .parser .javacc .Token ;
27
- import org .htmlunit .cssparser .parser .javacc .TokenMgrError ;
27
+ import org .htmlunit .cssparser .parser .javacc .TokenMgrException ;
28
28
import org .htmlunit .cssparser .parser .media .MediaQueryList ;
29
29
import org .htmlunit .cssparser .parser .selector .SelectorList ;
30
30
import org .w3c .dom .DOMException ;
@@ -292,10 +292,10 @@ protected CSSParseException toCSSParseException(final DOMException e) {
292
292
}
293
293
294
294
/**
295
- * @param e the TokenMgrError
295
+ * @param e the TokenMgrException
296
296
* @return a new CSSParseException
297
297
*/
298
- protected CSSParseException toCSSParseException (final TokenMgrError e ) {
298
+ protected CSSParseException toCSSParseException (final TokenMgrException e ) {
299
299
final String messagePattern = getParserMessage ("tokenMgrError" );
300
300
return new CSSParseException (messagePattern , getInputSource ().getURI (), 1 , 1 );
301
301
}
@@ -354,7 +354,7 @@ public void parseStyleSheet(final InputSource source) throws IOException {
354
354
catch (final ParseException e ) {
355
355
getErrorHandler ().error (toCSSParseException ("invalidStyleSheet" , e ));
356
356
}
357
- catch (final TokenMgrError e ) {
357
+ catch (final TokenMgrException e ) {
358
358
getErrorHandler ().error (toCSSParseException (e ));
359
359
}
360
360
catch (final CSSParseException e ) {
@@ -381,7 +381,7 @@ public void parseStyleDeclaration(final InputSource source) throws IOException {
381
381
catch (final ParseException e ) {
382
382
getErrorHandler ().error (toCSSParseException ("invalidStyleDeclaration" , e ));
383
383
}
384
- catch (final TokenMgrError e ) {
384
+ catch (final TokenMgrException e ) {
385
385
getErrorHandler ().error (toCSSParseException (e ));
386
386
}
387
387
catch (final CSSParseException e ) {
@@ -408,7 +408,7 @@ public void parseRule(final InputSource source) throws IOException {
408
408
catch (final ParseException e ) {
409
409
getErrorHandler ().error (toCSSParseException ("invalidRule" , e ));
410
410
}
411
- catch (final TokenMgrError e ) {
411
+ catch (final TokenMgrException e ) {
412
412
getErrorHandler ().error (toCSSParseException (e ));
413
413
}
414
414
catch (final CSSParseException e ) {
@@ -437,7 +437,7 @@ public SelectorList parseSelectors(final InputSource source) throws IOException
437
437
catch (final ParseException e ) {
438
438
getErrorHandler ().error (toCSSParseException ("invalidSelectorList" , e ));
439
439
}
440
- catch (final TokenMgrError e ) {
440
+ catch (final TokenMgrException e ) {
441
441
getErrorHandler ().error (toCSSParseException (e ));
442
442
}
443
443
catch (final CSSParseException e ) {
@@ -467,7 +467,7 @@ public LexicalUnit parsePropertyValue(final InputSource source) throws IOExcepti
467
467
catch (final ParseException e ) {
468
468
getErrorHandler ().error (toCSSParseException ("invalidExpr" , e ));
469
469
}
470
- catch (final TokenMgrError e ) {
470
+ catch (final TokenMgrException e ) {
471
471
getErrorHandler ().error (toCSSParseException (e ));
472
472
}
473
473
catch (final CSSParseException e ) {
@@ -497,7 +497,7 @@ public boolean parsePriority(final InputSource source) throws IOException {
497
497
catch (final ParseException e ) {
498
498
getErrorHandler ().error (toCSSParseException ("invalidPrio" , e ));
499
499
}
500
- catch (final TokenMgrError e ) {
500
+ catch (final TokenMgrException e ) {
501
501
getErrorHandler ().error (toCSSParseException (e ));
502
502
}
503
503
catch (final CSSParseException e ) {
@@ -522,7 +522,7 @@ public MediaQueryList parseMedia(final InputSource source) throws IOException {
522
522
catch (final ParseException e ) {
523
523
getErrorHandler ().error (toCSSParseException ("invalidMediaList" , e ));
524
524
}
525
- catch (final TokenMgrError e ) {
525
+ catch (final TokenMgrException e ) {
526
526
getErrorHandler ().error (toCSSParseException (e ));
527
527
}
528
528
catch (final CSSParseException e ) {
0 commit comments