Mercurial > projects > dwt-linux
diff dwt/DWTError.d @ 158:de2578a843a7
Tango update to rev 3158, TracedException>Exception, fromUtf8z>fromStringz,Fix Bug in MenuItem Thanx to nascent for the report.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 10 Feb 2008 04:19:19 +0100 |
parents | 5899e0b43e5d |
children | 654b7d7cc33c |
line wrap: on
line diff
--- a/dwt/DWTError.d Sat Feb 09 21:22:47 2008 +0100 +++ b/dwt/DWTError.d Sun Feb 10 04:19:19 2008 +0100 @@ -53,7 +53,7 @@ * The underlying throwable that caused the problem, * or null if this information is not available. */ - public TracedException throwable; + public Exception throwable; //static final long serialVersionUID = 3833467327105808433L; @@ -142,12 +142,12 @@ */ public void printStackTrace () { Stderr.formatln( "stacktrace follows (if feature compiled in)" ); - foreach( msg; this ){ + foreach( msg; info ){ Stderr.formatln( "{}", msg ); } if ( throwable !is null) { Stderr.formatln ("*** Stack trace of contained error ***"); //$NON-NLS-1$ - foreach( msg; throwable ){ + foreach( msg; throwable.info ){ Stderr.formatln( "{}", msg ); } }