Mercurial > projects > dwt-win
changeset 199:3d5dbb27dec2
RuntimeException with getCause
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 11 Apr 2008 01:26:13 +0200 |
parents | be4ce760802a |
children | fef1e3b37378 |
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 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){