W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/src/org/w3c/unicorn/tasklisttree TLTCond.java,1.4,1.5

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 21 Sep 2009 13:15:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MpijR-0002Va-Tj@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree
In directory hutz:/tmp/cvs-serv9620/src/org/w3c/unicorn/tasklisttree

Modified Files:
	TLTCond.java 
Log Message:
throws UnicornException instead of Exceptions

Index: TLTCond.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree/TLTCond.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- TLTCond.java	21 Sep 2009 12:11:50 -0000	1.4
+++ TLTCond.java	21 Sep 2009 13:15:03 -0000	1.5
@@ -4,6 +4,7 @@
 import org.apache.commons.logging.LogFactory;
 import org.w3c.unicorn.UnicornCall;
 import org.w3c.unicorn.contract.Observer;
+import org.w3c.unicorn.exceptions.UnicornException;
 
 /**
  * Class made to manage the XML type condType of the tasklist. Included in a
@@ -53,7 +54,7 @@
 		TLTCond.logger.trace("constructor()");
 	}
 	
-	public abstract boolean check(UnicornCall unicornCall) throws Exception;
+	public abstract boolean check(UnicornCall unicornCall) throws UnicornException;
 	
 	public static TLTCond createCond(EnumCondType type) {
 		switch (type) {
Received on Monday, 21 September 2009 13:15:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT