Author: markt
Date: Fri Jul 4 09:23:41 2014
New Revision: 1607804
URL: http://svn.apache.org/r1607804
Log:
Wrap the root cause rather than just using the message.
Modified:
tomcat/trunk/java/javax/servlet/http/Cookie.java
Modified: tomcat/trunk/java/javax/servlet/http/Cookie.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/Cookie.java?rev=1607804&r1=1607803&r2=1607804&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/Cookie.java (original)
+++ tomcat/trunk/java/javax/servlet/http/Cookie.java Fri Jul 4 09:23:41 2014
@@ -352,7 +352,7 @@ public class Cookie implements Cloneable
try {
return super.clone();
} catch (CloneNotSupportedException e) {
- throw new RuntimeException(e.getMessage());
+ throw new RuntimeException(e);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]