diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/SWTException.d @ 18:735224fcc45f

redirected all printings to DwtLogger
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 09:57:53 +0100
parents 950d84783eac
children 2e09b0e6857a
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/SWTException.d	Wed Mar 18 09:09:23 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/SWTException.d	Wed Mar 18 09:57:53 2009 +0100
@@ -138,14 +138,14 @@
  * </p>
  */
 public void printStackTrace () {
-    getDwtLogger().error( "stacktrace follows (if feature compiled in)" );
+    getDwtLogger().error(  __FILE__, __LINE__, "stacktrace follows (if feature compiled in)" );
     foreach( msg; info ){
-        getDwtLogger().error( "{}", msg );
+        getDwtLogger().error(  __FILE__, __LINE__, "{}", msg );
     }
     if ( throwable !is null) {
-        getDwtLogger().error ("*** Stack trace of contained exception ***"); //$NON-NLS-1$
+        getDwtLogger().error ( __FILE__, __LINE__, "*** Stack trace of contained exception ***"); //$NON-NLS-1$
         foreach( msg; throwable.info ){
-            getDwtLogger().error( "{}", msg );
+            getDwtLogger().error(  __FILE__, __LINE__, "{}", msg );
         }
     }
 }