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/java/Inspector/TDocSupplier.java | |
parent | c26d4d34467008418ebf138412e87886694c326c (diff) |
java: printStackTrace always to stderr
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5
Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
Diffstat (limited to 'odk/examples/java/Inspector/TDocSupplier.java')
-rw-r--r-- | odk/examples/java/Inspector/TDocSupplier.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; }} |