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

2006/unicorn/src/org/w3c/unicorn/exceptions UnicornException.java,1.5,1.6

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 06 Oct 2009 10:01:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mv6qv-0008EF-6t@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/exceptions
In directory hutz:/tmp/cvs-serv31617/src/org/w3c/unicorn/exceptions

Modified Files:
	UnicornException.java 
Log Message:
new method with string parameters

Index: UnicornException.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/exceptions/UnicornException.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- UnicornException.java	6 Oct 2009 08:16:02 -0000	1.5
+++ UnicornException.java	6 Oct 2009 10:01:03 -0000	1.6
@@ -20,8 +20,8 @@
 		this.message = message;
 	}
 
-	public UnicornException(int level, String message, String content) {
-		this.message = new Message(level, message, content);
+	public UnicornException(int level, String message, String content, String... parameters) {
+		this.message = new Message(level, message, content, parameters);
 	}
 	
 	public UnicornException(int level, String message) {
Received on Tuesday, 6 October 2009 10:01:12 GMT

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