Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/SWTError.d @ 9:950d84783eac
Removing direct tango deps.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 09 Mar 2009 14:26:40 +0100 |
parents | f36c67707cb3 |
children | 735224fcc45f |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/SWTError.d Thu Mar 05 15:12:35 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/SWTError.d Mon Mar 09 14:26:40 2009 +0100 @@ -12,10 +12,9 @@ *******************************************************************************/ module org.eclipse.swt.SWTError; -import org.eclipse.swt.SWT; +import java.lang.all; -import tango.io.Stdout; -import java.lang.all; +import org.eclipse.swt.SWT; /** * This error is thrown whenever an unrecoverable error @@ -148,14 +147,14 @@ * </p> */ public void printStackTrace () { - Stderr.formatln( "stacktrace follows (if feature compiled in)" ); + getDwtLogger().error( "stacktrace follows (if feature compiled in)" ); foreach( msg; info ){ - Stderr.formatln( "{}", msg ); + getDwtLogger().error( "{}", msg ); } if ( throwable !is null) { - Stderr.formatln ("*** Stack trace of contained error ***"); //$NON-NLS-1$ + getDwtLogger().error ("*** Stack trace of contained error ***"); //$NON-NLS-1$ foreach( msg; throwable.info ){ - Stderr.formatln( "{}", msg ); + getDwtLogger().error( "{}", msg ); } } }