- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 02 Oct 2009 10:11:54 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util In directory hutz:/tmp/cvs-serv30259/src/org/w3c/unicorn/util Modified Files: Message.java Log Message: added the Exception class to a Message content Index: Message.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Message.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Message.java 2 Oct 2009 09:54:17 -0000 1.4 +++ Message.java 2 Oct 2009 10:11:52 -0000 1.5 @@ -17,7 +17,8 @@ } public Message(Exception e) { - content = e.getMessage() + "\n"; + content = e.getClass() + "\n"; + content += e.getMessage() + "\n"; for (StackTraceElement stackTraceElement : e.getStackTrace()) { content += stackTraceElement.toString() + "\n"; }
Received on Friday, 2 October 2009 10:11:58 UTC