- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 14 Sep 2005 15:15:06 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css21/table In directory hutz:/tmp/cvs-serv9389/org/w3c/css/properties/css21/table Modified Files: CssCaptionSideCSS21.java Log Message: >From Jean-Guilhem Rouel (again!) Reformatting of code Fix for bug 774 [1] (even more warnings) Fix for bug 768 [2] Modification of the soap output format (each warning list and error list has the URI it refers to) [1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=774 [2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=768 Index: CssCaptionSideCSS21.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/table/CssCaptionSideCSS21.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssCaptionSideCSS21.java 1 Sep 2005 11:51:21 -0000 1.1 +++ CssCaptionSideCSS21.java 14 Sep 2005 15:15:04 -0000 1.2 @@ -13,35 +13,35 @@ * CssCaptionSide21<br /> * Created: Aug 30, 2005 5:49:51 PM<br /> */ -public class CssCaptionSideCSS21 extends CaptionSide { +public class CssCaptionSideCSS21 extends CaptionSide { /** * Create a new CaptionSide - */ + */ public CssCaptionSideCSS21() { super(); } - + /** * Creates a new CssCaptionSide * * @param expression the expression of the size * @exception InvalidParamException The expression is incorrect - */ + */ public CssCaptionSideCSS21(ApplContext ac, CssExpression expression, boolean check) throws InvalidParamException { - + super(ac, expression, check); - + // 'left' and 'right' are forbidden in CSS 2.1 if(getValue() == left || getValue() == right) { - throw new InvalidParamException("value", - getValue().toString(), + throw new InvalidParamException("value", + getValue().toString(), getPropertyName(), ac); } } - - public CssCaptionSideCSS21(ApplContext ac, CssExpression expression) + + public CssCaptionSideCSS21(ApplContext ac, CssExpression expression) throws InvalidParamException { this(ac, expression, false); }
Received on Wednesday, 14 September 2005 15:16:35 UTC