# HG changeset patch # User Frank Benoit # Date 1207869964 -7200 # Node ID 5366f8db1eda7446031cb8420fc37487c3992ac2 # Parent ac1c09c928581c6f3afe6de8ee854233d82a07dd RuntimeException with getCause diff -r ac1c09c92858 -r 5366f8db1eda dwt/dwthelper/utils.d --- 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){