- Also use the parent constructor here.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 26 Oct 2006 13:24:22 +0000 (13:24 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 26 Oct 2006 13:24:22 +0000 (13:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@467995 13f79535-47bb-0310-9956-ffa450edef68

java/javax/servlet/ServletException.java

index c13e77f..5de0d1b 100644 (file)
@@ -83,7 +83,7 @@ public class ServletException extends Exception {
      *                         necessary
      */
     public ServletException(Throwable rootCause) {
-        this(rootCause.getLocalizedMessage(), rootCause);
+        super(rootCause);
     }
 
     /**