From cdaddecc5e3ec93294492b3efc38393c91459e10 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 13 Jul 2012 09:23:19 +0200 Subject: java: printStackTrace always to stderr like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5 Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c --- odk/examples/java/Inspector/TDocSupplier.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odk/examples/java/Inspector/TDocSupplier.java') diff --git a/odk/examples/java/Inspector/TDocSupplier.java b/odk/examples/java/Inspector/TDocSupplier.java index 1022507eb387..4d3d02538cec 100644 --- a/odk/examples/java/Inspector/TDocSupplier.java +++ b/odk/examples/java/Inspector/TDocSupplier.java @@ -82,7 +82,7 @@ public class TDocSupplier { return xModel; } }catch(Exception exception){ - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } JOptionPane.showMessageDialog(new javax.swing.JFrame(), "The selected Document could not be opened!", "Object Inspector", JOptionPane.ERROR_MESSAGE); return null; @@ -96,7 +96,7 @@ public class TDocSupplier { return xRow.getString(1); } }catch(Exception exception){ - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } JOptionPane.showMessageDialog(new javax.swing.JFrame(), "The selected Document could not be opened!", "Object Inspector", JOptionPane.ERROR_MESSAGE); return ""; @@ -124,7 +124,7 @@ public class TDocSupplier { XRow xRow = (XRow) UnoRuntime.queryInterface(XRow.class, oAny); return xRow; }catch(Exception exception){ - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; }} -- cgit