You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by cd...@apache.org on 2008/01/04 05:36:08 UTC

svn commit: r608742 - /portals/pluto/branches/1.1-286-trunk-merge/pluto-container/src/main/java/org/apache/pluto/PortletContainerException.java

Author: cdoremus
Date: Thu Jan  3 20:36:07 2008
New Revision: 608742

URL: http://svn.apache.org/viewvc?rev=608742&view=rev
Log:
Applied patch from PLUTO-457. Thanks Eric!

Modified:
    portals/pluto/branches/1.1-286-trunk-merge/pluto-container/src/main/java/org/apache/pluto/PortletContainerException.java

Modified: portals/pluto/branches/1.1-286-trunk-merge/pluto-container/src/main/java/org/apache/pluto/PortletContainerException.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-trunk-merge/pluto-container/src/main/java/org/apache/pluto/PortletContainerException.java?rev=608742&r1=608741&r2=608742&view=diff
==============================================================================
--- portals/pluto/branches/1.1-286-trunk-merge/pluto-container/src/main/java/org/apache/pluto/PortletContainerException.java (original)
+++ portals/pluto/branches/1.1-286-trunk-merge/pluto-container/src/main/java/org/apache/pluto/PortletContainerException.java Thu Jan  3 20:36:07 2008
@@ -49,7 +49,7 @@
      * @param cause the root cause of the is exception
      */
     public PortletContainerException(String text, Throwable cause) {
-        super(text);
+        super(text, cause);
         this.cause = cause;
     }
 
@@ -60,7 +60,7 @@
      * @param cause the root cause
      */
     public PortletContainerException(Throwable cause) {
-        super(cause.getLocalizedMessage());
+        super(cause.getLocalizedMessage(), cause);
         this.cause = cause;
     }