- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 05 Aug 2009 13:32:38 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv7483/src/org/w3c/unicorn
Modified Files:
Tag: dev2
Controller.java Init.java
Log Message:
created route.xml
Index: Controller.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Attic/Controller.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Controller.java 5 Aug 2009 10:26:44 -0000 1.1.2.1
+++ Controller.java 5 Aug 2009 13:32:36 -0000 1.1.2.2
@@ -47,16 +47,10 @@
dispatcher.forward(request, response);
} catch (Exception e) {
logger.error("ERROR: " + e.getMessage(), e);
+ response.sendError(501, "ERROR: " + e.getMessage());
}
}
}
-
- /*try {
- } catch (BadRequestException ex){
- use Response.sendError()
- } catch (Throwable ex) {
- use Response.sendError()
- }*/
}
static {
Index: Init.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Attic/Init.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Init.java 5 Aug 2009 10:26:44 -0000 1.1.2.1
+++ Init.java 5 Aug 2009 13:32:36 -0000 1.1.2.2
@@ -65,6 +65,12 @@
logger.info("Unicorn properties file successfully loaded");
logger.debug("Loaded properties: " + Property.getUnicornProperties());
}
+
+ // Initialising RouteParser
+
+
+
+
}
public static void main(String argv[]) {
Received on Wednesday, 5 August 2009 13:32:49 UTC