org.specrunner.webdriver
Class OptimizedCssErrorHandler

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.DefaultCssErrorHandler
      extended by org.specrunner.webdriver.OptimizedCssErrorHandler
All Implemented Interfaces:
Serializable, org.w3c.css.sac.ErrorHandler

public class OptimizedCssErrorHandler
extends com.gargoylesoftware.htmlunit.DefaultCssErrorHandler

Default implementation of CSS handler which log only if required.

Author:
Thiago Santos
See Also:
Serialized Form

Constructor Summary
OptimizedCssErrorHandler()
           
 
Method Summary
 void error(org.w3c.css.sac.CSSParseException exception)
           
 void fatalError(org.w3c.css.sac.CSSParseException exception)
           
 void warning(org.w3c.css.sac.CSSParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizedCssErrorHandler

public OptimizedCssErrorHandler()
Method Detail

warning

public void warning(org.w3c.css.sac.CSSParseException exception)
Specified by:
warning in interface org.w3c.css.sac.ErrorHandler
Overrides:
warning in class com.gargoylesoftware.htmlunit.DefaultCssErrorHandler

error

public void error(org.w3c.css.sac.CSSParseException exception)
Specified by:
error in interface org.w3c.css.sac.ErrorHandler
Overrides:
error in class com.gargoylesoftware.htmlunit.DefaultCssErrorHandler

fatalError

public void fatalError(org.w3c.css.sac.CSSParseException exception)
Specified by:
fatalError in interface org.w3c.css.sac.ErrorHandler
Overrides:
fatalError in class com.gargoylesoftware.htmlunit.DefaultCssErrorHandler


Copyright © 2013. All rights reserved.