Mercurial > projects > dwt-win
diff dwt/dwthelper/utils.d @ 199:3d5dbb27dec2
RuntimeException with getCause
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:26:13 +0200 |
parents | 184ab53b7785 |
children | fef1e3b37378 |
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d Thu Apr 10 11:20:26 2008 +0200 +++ b/dwt/dwthelper/utils.d Fri Apr 11 01:26:13 2008 +0200 @@ -637,7 +637,12 @@ } this( Exception e ){ super(e.toString); + next = e; } + public Exception getCause() { + return next; + } + } class IndexOutOfBoundsException : Exception { this( char[] e = null){