com.steadystate.css.util
Class ThrowCssExceptionErrorHandler

java.lang.Object
  extended by com.steadystate.css.util.ThrowCssExceptionErrorHandler
All Implemented Interfaces:
Serializable, org.w3c.css.sac.ErrorHandler

public class ThrowCssExceptionErrorHandler
extends Object
implements org.w3c.css.sac.ErrorHandler, Serializable

Helper implementation of ErrorHandler, which throws CssException in case of problems.

Version:
$Revision: $
Author:
rbri
See Also:
ErrorHandler, Serialized Form

Field Summary
static ThrowCssExceptionErrorHandler INSTANCE
          Singleton.
 
Constructor Summary
ThrowCssExceptionErrorHandler()
           
 
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
 

Field Detail

INSTANCE

public static final ThrowCssExceptionErrorHandler INSTANCE
Singleton.

Constructor Detail

ThrowCssExceptionErrorHandler

public ThrowCssExceptionErrorHandler()
Method Detail

error

public void error(org.w3c.css.sac.CSSParseException exception)

Specified by:
error in interface org.w3c.css.sac.ErrorHandler

fatalError

public void fatalError(org.w3c.css.sac.CSSParseException exception)

Specified by:
fatalError in interface org.w3c.css.sac.ErrorHandler

warning

public void warning(org.w3c.css.sac.CSSParseException exception)

Specified by:
warning in interface org.w3c.css.sac.ErrorHandler


Copyright © 2013. All rights reserved.