2006/unicorn/src/org/w3c/unicorn/exceptions UnicornException.java,1.2,1.3

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/exceptions
In directory hutz:/tmp/cvs-serv1721/src/org/w3c/unicorn/exceptions

Modified Files:
	UnicornException.java 
Log Message:
New constructor based on Message constructor signature

Index: UnicornException.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/exceptions/UnicornException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- UnicornException.java	17 Sep 2009 15:51:40 -0000	1.2
+++ UnicornException.java	18 Sep 2009 14:54:13 -0000	1.3
@@ -1,6 +1,7 @@
 package org.w3c.unicorn.exceptions;
 
 import org.w3c.unicorn.util.Message;
+import org.w3c.unicorn.util.Message.Level;
 
 public class UnicornException extends Exception {
 	
@@ -20,6 +21,10 @@
 		this.message = message;
 	}
 
+	public UnicornException(Level error, String message, String content) {
+		this.message = new Message(error, message, content);
+	}
+
 	public Message getUnicornMessage() {
 		return message;
 	}

Received on Friday, 18 September 2009 14:54:26 UTC