You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2007/08/27 21:48:12 UTC

svn commit: r570231 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java

Author: ehillenius
Date: Mon Aug 27 12:48:12 2007
New Revision: 570231

URL: http://svn.apache.org/viewvc?rev=570231&view=rev
Log:
print exception message and remove stale TODO

Modified:
    wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java?rev=570231&r1=570230&r2=570231&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/RequestCycle.java Mon Aug 27 12:48:12 2007
@@ -156,8 +156,6 @@
  * @author Eelco Hillenius
  * @author Igor Vaynberg (ivaynberg)
  */
-// TODO if it were up to me (Eelco), we could get rid of the application and
-// session members and accessors. They can be accessed from the thread locals
 public abstract class RequestCycle
 {
 	/** Thread-local that holds the current request cycle. */
@@ -1135,7 +1133,9 @@
 			else
 			{
 				// hmmm, we were already handling an exception! give up
-				log.error("unexpected exception when handling another exception", e);
+				log.error(
+						"unexpected exception when handling another exception: " + e.getMessage(),
+						e);
 			}
 		}
 	}