2424import org .htmlunit .cssparser .parser .javacc .CharStream ;
2525import org .htmlunit .cssparser .parser .javacc .ParseException ;
2626import org .htmlunit .cssparser .parser .javacc .Token ;
27- import org .htmlunit .cssparser .parser .javacc .TokenMgrError ;
27+ import org .htmlunit .cssparser .parser .javacc .TokenMgrException ;
2828import org .htmlunit .cssparser .parser .media .MediaQueryList ;
2929import org .htmlunit .cssparser .parser .selector .SelectorList ;
3030import org .w3c .dom .DOMException ;
@@ -292,10 +292,10 @@ protected CSSParseException toCSSParseException(final DOMException e) {
292292 }
293293
294294 /**
295- * @param e the TokenMgrError
295+ * @param e the TokenMgrException
296296 * @return a new CSSParseException
297297 */
298- protected CSSParseException toCSSParseException (final TokenMgrError e ) {
298+ protected CSSParseException toCSSParseException (final TokenMgrException e ) {
299299 final String messagePattern = getParserMessage ("tokenMgrError" );
300300 return new CSSParseException (messagePattern , getInputSource ().getURI (), 1 , 1 );
301301 }
@@ -354,7 +354,7 @@ public void parseStyleSheet(final InputSource source) throws IOException {
354354 catch (final ParseException e ) {
355355 getErrorHandler ().error (toCSSParseException ("invalidStyleSheet" , e ));
356356 }
357- catch (final TokenMgrError e ) {
357+ catch (final TokenMgrException e ) {
358358 getErrorHandler ().error (toCSSParseException (e ));
359359 }
360360 catch (final CSSParseException e ) {
@@ -381,7 +381,7 @@ public void parseStyleDeclaration(final InputSource source) throws IOException {
381381 catch (final ParseException e ) {
382382 getErrorHandler ().error (toCSSParseException ("invalidStyleDeclaration" , e ));
383383 }
384- catch (final TokenMgrError e ) {
384+ catch (final TokenMgrException e ) {
385385 getErrorHandler ().error (toCSSParseException (e ));
386386 }
387387 catch (final CSSParseException e ) {
@@ -408,7 +408,7 @@ public void parseRule(final InputSource source) throws IOException {
408408 catch (final ParseException e ) {
409409 getErrorHandler ().error (toCSSParseException ("invalidRule" , e ));
410410 }
411- catch (final TokenMgrError e ) {
411+ catch (final TokenMgrException e ) {
412412 getErrorHandler ().error (toCSSParseException (e ));
413413 }
414414 catch (final CSSParseException e ) {
@@ -437,7 +437,7 @@ public SelectorList parseSelectors(final InputSource source) throws IOException
437437 catch (final ParseException e ) {
438438 getErrorHandler ().error (toCSSParseException ("invalidSelectorList" , e ));
439439 }
440- catch (final TokenMgrError e ) {
440+ catch (final TokenMgrException e ) {
441441 getErrorHandler ().error (toCSSParseException (e ));
442442 }
443443 catch (final CSSParseException e ) {
@@ -467,7 +467,7 @@ public LexicalUnit parsePropertyValue(final InputSource source) throws IOExcepti
467467 catch (final ParseException e ) {
468468 getErrorHandler ().error (toCSSParseException ("invalidExpr" , e ));
469469 }
470- catch (final TokenMgrError e ) {
470+ catch (final TokenMgrException e ) {
471471 getErrorHandler ().error (toCSSParseException (e ));
472472 }
473473 catch (final CSSParseException e ) {
@@ -497,7 +497,7 @@ public boolean parsePriority(final InputSource source) throws IOException {
497497 catch (final ParseException e ) {
498498 getErrorHandler ().error (toCSSParseException ("invalidPrio" , e ));
499499 }
500- catch (final TokenMgrError e ) {
500+ catch (final TokenMgrException e ) {
501501 getErrorHandler ().error (toCSSParseException (e ));
502502 }
503503 catch (final CSSParseException e ) {
@@ -522,7 +522,7 @@ public MediaQueryList parseMedia(final InputSource source) throws IOException {
522522 catch (final ParseException e ) {
523523 getErrorHandler ().error (toCSSParseException ("invalidMediaList" , e ));
524524 }
525- catch (final TokenMgrError e ) {
525+ catch (final TokenMgrException e ) {
526526 getErrorHandler ().error (toCSSParseException (e ));
527527 }
528528 catch (final CSSParseException e ) {
0 commit comments