You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2005/03/07 10:19:19 UTC

svn commit: r156412 - lenya/trunk/src/java/org/apache/lenya/cms/workflow/CMSHistory.java

Author: andreas
Date: Mon Mar  7 01:19:17 2005
New Revision: 156412

URL: http://svn.apache.org/viewcvs?view=rev&rev=156412
Log:
when re-trowing, add exception with stack trace (helps finding the cause)

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/workflow/CMSHistory.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/workflow/CMSHistory.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/workflow/CMSHistory.java?view=diff&r1=156411&r2=156412
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/workflow/CMSHistory.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/workflow/CMSHistory.java Mon Mar  7 01:19:17 2005
@@ -191,7 +191,7 @@
         try {
             date = df.parse(element.getAttribute(DATE_ATTRIBUTE));
         } catch (final ParseException e) {
-            throw new WorkflowException("Could not parse workflow date: " +e.toString());
+            throw new WorkflowException("Could not parse workflow date: ", e);
         }
         cmsVersion.setDate(date);
 
@@ -228,4 +228,4 @@
         while (!parent.equals(stopDirectory) && parent.delete())
             parent = parent.getParentFile();
     }
-}
\ No newline at end of file
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org