changeset 225:5366f8db1eda

RuntimeException with getCause
author Frank Benoit <benoit@tionex.de>
date Fri, 11 Apr 2008 01:26:04 +0200
parents ac1c09c92858
children 6da025bf255e
files dwt/dwthelper/utils.d
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d	Thu Apr 10 09:15:48 2008 +0200
+++ b/dwt/dwthelper/utils.d	Fri Apr 11 01:26:04 2008 +0200
@@ -620,7 +620,12 @@
     }
     this( Exception e ){
         super(e.toString);
+        next = e;
     }
+    public Exception getCause() {
+        return next;
+    }
+
 }
 class IndexOutOfBoundsException : Exception {
     this( char[] e = null){