com.steadystate.css.util
Class ThrowCssExceptionErrorHandler
java.lang.Object
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
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 |
INSTANCE
public static final ThrowCssExceptionErrorHandler INSTANCE
- Singleton.
ThrowCssExceptionErrorHandler
public ThrowCssExceptionErrorHandler()
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.