2002/css-validator/org/w3c/css/parser CssPropertyFactory.java,1.16,1.17

Update of /sources/public/2002/css-validator/org/w3c/css/parser
In directory hutz:/tmp/cvs-serv17482/org/w3c/css/parser

Modified Files:
	CssPropertyFactory.java 
Log Message:
Adding the css version to error message when a property doesn't exist in a version so message can be :
The property xxxx doesn't exist in css2.1 for instance

Index: CssPropertyFactory.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssPropertyFactory.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- CssPropertyFactory.java	13 Jul 2007 13:32:21 -0000	1.16
+++ CssPropertyFactory.java	6 Aug 2007 14:04:53 -0000	1.17
@@ -200,7 +200,7 @@
 		// this is an error... or a warning if it exists in another
 		// profile... FIXME
 		if (classname == null) {
-			throw new InvalidParamException("noexistence", property, ac);
+			throw new InvalidParamException("noexistence", property, ac.getCssVersion(), ac);
 		}
 
 		CssIdent initial = new CssIdent("initial");

Received on Monday, 6 August 2007 14:05:01 UTC