diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-13 09:23:19 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-13 12:45:57 +0200 |
commit | cdaddecc5e3ec93294492b3efc38393c91459e10 (patch) | |
tree | b98830825aa14057ac41cf3d7a98502cbf6be5df /odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java | |
parent | c26d4d34467008418ebf138412e87886694c326c (diff) |
java: printStackTrace always to stderr
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5
Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
Diffstat (limited to 'odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java')
-rw-r--r-- | odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java index 3b85eb57d306..5d9781d5dbac 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java +++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample2.java @@ -136,7 +136,7 @@ public class UnoDialogSample2 extends UnoDialogSample { oUnoDialogSample2.xDialog = (XDialog) UnoRuntime.queryInterface(XDialog.class, oUnoDialogSample2.m_xDialogControl); oUnoDialogSample2.xDialog.execute(); }catch( Exception ex ) { - ex.printStackTrace(System.out); + ex.printStackTrace(System.err); } finally{ //make sure always to dispose the component and free the memory! @@ -257,7 +257,7 @@ public class UnoDialogSample2 extends UnoDialogSample { * com.sun.star.beans.UnknownPropertyException, * com.sun.star.uno.Exception */ - ex.printStackTrace(System.out); + ex.printStackTrace(System.err); } } |