diff dwtx/jface/util/Policy.d @ 40:da5ad8eedf5d

debug prints, dwt.dwthelper restructure, ...
author Frank Benoit <benoit@tionex.de>
date Thu, 10 Apr 2008 08:59:39 +0200
parents c87617952847
children 46a6e0e6ccd4
line wrap: on
line diff
--- a/dwtx/jface/util/Policy.d	Tue Apr 08 22:05:42 2008 +0200
+++ b/dwtx/jface/util/Policy.d	Thu Apr 10 08:59:39 2008 +0200
@@ -75,9 +75,9 @@
                 Stderr.formatln(status.getMessage());
                 if (status.getException() !is null) {
                     auto e = status.getException();
-                    Stderr( "Exception in {}({}): {}", e.file, e.line, e.msg );
+                    Stderr.formatln( "Exception of type {} in {}({}): {}", e.classinfo.name, e.file, e.line, e.msg );
                     foreach( msg; e.info ){
-                        Stderr( "    trc: {}", msg );
+                        Stderr.formatln( "    trc: {}", msg );
                     }
 //                     status.getException().printStackTrace();
                 }