diff dwtx/jface/text/templates/TemplateException.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents eb21d3dfc767
children
line wrap: on
line diff
--- a/dwtx/jface/text/templates/TemplateException.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/templates/TemplateException.d	Mon Sep 08 00:51:37 2008 +0200
@@ -62,7 +62,7 @@
      * Creates a new template exception.
      */
     public this() {
-        super();
+        super(null);
     }
 
     /**
@@ -80,7 +80,7 @@
      * @param message the message describing the problem that arose
      * @param cause the original exception
      */
-    public this(String message, Throwable cause) {
+    public this(String message, Exception cause) {
         super(message, cause);
     }
 
@@ -89,7 +89,7 @@
      *
      * @param cause the original exception
      */
-    public this(Throwable cause) {
-        super(cause);
+    public this(Exception cause) {
+        super(null, cause);
     }
 }