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 /wizards/com | |
parent | c26d4d34467008418ebf138412e87886694c326c (diff) |
java: printStackTrace always to stderr
like 3d3b3f656f92790225b89aa31ee61163fb2fc7e5
Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
Diffstat (limited to 'wizards/com')
75 files changed, 297 insertions, 297 deletions
diff --git a/wizards/com/sun/star/wizards/common/Configuration.java b/wizards/com/sun/star/wizards/common/Configuration.java index 1264873b80d3..da18fdc7b72a 100644 --- a/wizards/com/sun/star/wizards/common/Configuration.java +++ b/wizards/com/sun/star/wizards/common/Configuration.java @@ -196,7 +196,7 @@ public abstract class Configuration } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -212,7 +212,7 @@ public abstract class Configuration } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return sLocale; } @@ -349,7 +349,7 @@ public abstract class Configuration } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return snames; } } @@ -364,7 +364,7 @@ public abstract class Configuration } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } @@ -380,7 +380,7 @@ public abstract class Configuration } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -409,7 +409,7 @@ public abstract class Configuration } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -438,7 +438,7 @@ public abstract class Configuration } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } diff --git a/wizards/com/sun/star/wizards/common/Desktop.java b/wizards/com/sun/star/wizards/common/Desktop.java index 849b9a1182ef..170279577beb 100644 --- a/wizards/com/sun/star/wizards/common/Desktop.java +++ b/wizards/com/sun/star/wizards/common/Desktop.java @@ -71,7 +71,7 @@ public class Desktop } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } else @@ -117,7 +117,7 @@ public class Desktop } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -136,7 +136,7 @@ public class Desktop } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -230,7 +230,7 @@ public class Desktop } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return -1; } } @@ -341,7 +341,7 @@ public class Desktop } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/common/FileAccess.java b/wizards/com/sun/star/wizards/common/FileAccess.java index 9ec373a29e8e..46e4f8a55fb9 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.java +++ b/wizards/com/sun/star/wizards/common/FileAccess.java @@ -116,7 +116,7 @@ public class FileAccess } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return PropertyNames.EMPTY_STRING; } } @@ -194,7 +194,7 @@ public class FileAccess } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); ResultPath = PropertyNames.EMPTY_STRING; } if (!bexists) @@ -275,7 +275,7 @@ public class FileAccess } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); // ResultPath = PropertyNames.EMPTY_STRING; } // if (bexists == false) @@ -394,7 +394,7 @@ public class FileAccess if (ResultPath.equals(PropertyNames.EMPTY_STRING) == false) bexists = xSimpleFileAccess.exists(ResultPath); } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); ResultPath = PropertyNames.EMPTY_STRING; } if (bexists == false) @@ -432,7 +432,7 @@ public class FileAccess } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return bExists; } @@ -450,7 +450,7 @@ public class FileAccess } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return PropertyNames.EMPTY_STRING; } if (!bexists) @@ -570,7 +570,7 @@ public class FileAccess } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgFilePathInvalid); return false; } @@ -632,7 +632,7 @@ public class FileAccess } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return LocLayoutFiles; } @@ -774,7 +774,7 @@ public class FileAccess } catch (com.sun.star.ucb.CommandAbortedException exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } catch (com.sun.star.uno.Exception e) { @@ -953,11 +953,11 @@ public class FileAccess } catch (CommandAbortedException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; @@ -1139,7 +1139,7 @@ public class FileAccess } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return sFileData; } diff --git a/wizards/com/sun/star/wizards/common/Helper.java b/wizards/com/sun/star/wizards/common/Helper.java index 8dfc4c98691a..9a50753c0050 100644 --- a/wizards/com/sun/star/wizards/common/Helper.java +++ b/wizards/com/sun/star/wizards/common/Helper.java @@ -69,7 +69,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -89,7 +89,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -131,7 +131,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -181,7 +181,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -199,7 +199,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return null; } @@ -220,7 +220,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return null; } @@ -241,7 +241,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -266,7 +266,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -294,7 +294,7 @@ public class Helper } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/common/JavaTools.java b/wizards/com/sun/star/wizards/common/JavaTools.java index c84426e53675..ab28a81df8fa 100644 --- a/wizards/com/sun/star/wizards/common/JavaTools.java +++ b/wizards/com/sun/star/wizards/common/JavaTools.java @@ -61,7 +61,7 @@ public class JavaTools } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } */ @@ -142,7 +142,7 @@ public class JavaTools } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } @@ -168,7 +168,7 @@ public class JavaTools } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } @@ -416,7 +416,7 @@ public class JavaTools } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -450,7 +450,7 @@ public class JavaTools } catch (MalformedURLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return sPath; } diff --git a/wizards/com/sun/star/wizards/common/NumberFormatter.java b/wizards/com/sun/star/wizards/common/NumberFormatter.java index 5b5476884ed2..c90ce2f2546d 100644 --- a/wizards/com/sun/star/wizards/common/NumberFormatter.java +++ b/wizards/com/sun/star/wizards/common/NumberFormatter.java @@ -151,7 +151,7 @@ public class NumberFormatter } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return -1; } } @@ -176,7 +176,7 @@ public class NumberFormatter } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return -1; } } @@ -212,7 +212,7 @@ public class NumberFormatter } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/common/Resource.java b/wizards/com/sun/star/wizards/common/Resource.java index 787df1bec3f3..58acc4eaf41a 100644 --- a/wizards/com/sun/star/wizards/common/Resource.java +++ b/wizards/com/sun/star/wizards/common/Resource.java @@ -116,7 +116,7 @@ public class Resource } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); throw new java.lang.IllegalArgumentException("Resource with ID not" + String.valueOf(nID) + "not found"); } } diff --git a/wizards/com/sun/star/wizards/common/SystemDialog.java b/wizards/com/sun/star/wizards/common/SystemDialog.java index b1726a205b1d..02a5b7962832 100644 --- a/wizards/com/sun/star/wizards/common/SystemDialog.java +++ b/wizards/com/sun/star/wizards/common/SystemDialog.java @@ -220,7 +220,7 @@ public class SystemDialog } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -285,7 +285,7 @@ public class SystemDialog } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -342,7 +342,7 @@ public class SystemDialog } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return iMessage; } @@ -384,7 +384,7 @@ public class SystemDialog catch (Exception e) { // TODO Auto-generated catch block - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return iMessage; } diff --git a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java index 9897386e18ae..bc0be014b77b 100644 --- a/wizards/com/sun/star/wizards/db/ColumnPropertySet.java +++ b/wizards/com/sun/star/wizards/db/ColumnPropertySet.java @@ -102,7 +102,7 @@ public class ColumnPropertySet } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -121,7 +121,7 @@ public class ColumnPropertySet } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -133,7 +133,7 @@ public class ColumnPropertySet } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return 0; } } @@ -194,7 +194,7 @@ public class ColumnPropertySet } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/db/CommandMetaData.java b/wizards/com/sun/star/wizards/db/CommandMetaData.java index b29bbd48c1e7..e0ca1d67ba16 100644 --- a/wizards/com/sun/star/wizards/db/CommandMetaData.java +++ b/wizards/com/sun/star/wizards/db/CommandMetaData.java @@ -149,7 +149,7 @@ public class CommandMetaData extends DBMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -313,7 +313,7 @@ public class CommandMetaData extends DBMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } Resource oResource = new Resource(xMSF, "Database", "dbw"); String sMsgNoFieldsFromCommand = oResource.getResText(RID_DB_COMMON + 45); @@ -388,7 +388,7 @@ public class CommandMetaData extends DBMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return false; } } @@ -411,7 +411,7 @@ public class CommandMetaData extends DBMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return new String[] { }; @@ -471,7 +471,7 @@ public class CommandMetaData extends DBMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return new String[] { }; @@ -624,7 +624,7 @@ public class CommandMetaData extends DBMetaData } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return sTotReferencedTables; } @@ -687,7 +687,7 @@ public class CommandMetaData extends DBMetaData } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/db/CommandName.java b/wizards/com/sun/star/wizards/db/CommandName.java index b026266649d7..91b25e30f75a 100644 --- a/wizards/com/sun/star/wizards/db/CommandName.java +++ b/wizards/com/sun/star/wizards/db/CommandName.java @@ -74,7 +74,7 @@ public class CommandName } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -120,7 +120,7 @@ public class CommandName } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -174,7 +174,7 @@ public class CommandName } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return false; } } diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java b/wizards/com/sun/star/wizards/db/DBMetaData.java index ae23246ba1b5..2bda1a15d6a8 100644 --- a/wizards/com/sun/star/wizards/db/DBMetaData.java +++ b/wizards/com/sun/star/wizards/db/DBMetaData.java @@ -856,7 +856,7 @@ public class DBMetaData callSQLErrorMessageDialog(sqlError, null); return false; } - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } catch (SQLException e) { diff --git a/wizards/com/sun/star/wizards/db/FieldColumn.java b/wizards/com/sun/star/wizards/db/FieldColumn.java index 0499d346dd4f..9f179fde2e2e 100644 --- a/wizards/com/sun/star/wizards/db/FieldColumn.java +++ b/wizards/com/sun/star/wizards/db/FieldColumn.java @@ -165,7 +165,7 @@ public class FieldColumn } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -349,7 +349,7 @@ public class FieldColumn } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); m_nDBFormatKey = StandardFormatKey; } } @@ -373,7 +373,7 @@ public class FieldColumn } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/db/QueryMetaData.java b/wizards/com/sun/star/wizards/db/QueryMetaData.java index 4eca49d317c8..a5435e4dae66 100644 --- a/wizards/com/sun/star/wizards/db/QueryMetaData.java +++ b/wizards/com/sun/star/wizards/db/QueryMetaData.java @@ -240,7 +240,7 @@ public class QueryMetaData extends CommandMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/db/RecordParser.java b/wizards/com/sun/star/wizards/db/RecordParser.java index 2d97ddeb10a3..9f130836aef1 100644 --- a/wizards/com/sun/star/wizards/db/RecordParser.java +++ b/wizards/com/sun/star/wizards/db/RecordParser.java @@ -78,7 +78,7 @@ public class RecordParser extends QueryMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -95,7 +95,7 @@ public class RecordParser extends QueryMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -120,7 +120,7 @@ public class RecordParser extends QueryMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return Any.VOID; } @@ -223,7 +223,7 @@ public class RecordParser extends QueryMetaData } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); throw new InvalidQueryException(xMSF, Command); } } @@ -254,7 +254,7 @@ public class RecordParser extends QueryMetaData } catch (InvalidQueryException queryexception) { - queryexception.printStackTrace(System.out); + queryexception.printStackTrace(System.err); return false; } } diff --git a/wizards/com/sun/star/wizards/db/RelationController.java b/wizards/com/sun/star/wizards/db/RelationController.java index a147b24d8594..1eb3b12420e2 100644 --- a/wizards/com/sun/star/wizards/db/RelationController.java +++ b/wizards/com/sun/star/wizards/db/RelationController.java @@ -78,7 +78,7 @@ public class RelationController extends CommandName } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return sReferencedTableNames; } @@ -146,7 +146,7 @@ public class RelationController extends CommandName } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return sKeyColumnNames; } diff --git a/wizards/com/sun/star/wizards/db/TableDescriptor.java b/wizards/com/sun/star/wizards/db/TableDescriptor.java index 2419c42f5a2d..8758d366d882 100644 --- a/wizards/com/sun/star/wizards/db/TableDescriptor.java +++ b/wizards/com/sun/star/wizards/db/TableDescriptor.java @@ -123,7 +123,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return true; } @@ -192,19 +192,19 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (UnknownPropertyException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (PropertyVetoException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (WrappedTargetException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; @@ -225,7 +225,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception ex) { - ex.printStackTrace(System.out); + ex.printStackTrace(System.err); return false; } } @@ -296,7 +296,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); breturn = false; } if (!breturn) @@ -348,7 +348,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e1) { - e1.printStackTrace(System.out); + e1.printStackTrace(System.err); } return false; } @@ -374,7 +374,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } @@ -388,7 +388,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); showMessageBox("ErrorBox", VclWindowPeerAttribute.OK, e.getMessage()); return false; } @@ -419,19 +419,19 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (UnknownPropertyException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (PropertyVetoException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } catch (WrappedTargetException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -458,7 +458,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -484,7 +484,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -504,7 +504,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } return new String[] @@ -530,7 +530,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -553,7 +553,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -583,7 +583,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -608,7 +608,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return xRetPropertySet; } @@ -629,7 +629,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -645,7 +645,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return false; } } @@ -672,7 +672,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -699,13 +699,13 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (RuntimeException e1) { - e1.printStackTrace(System.out); + e1.printStackTrace(System.err); } } } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -731,13 +731,13 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } String[] sbinaryfieldnames = new String[NonBinaryFieldNameVector.size()]; NonBinaryFieldNameVector.toArray(sbinaryfieldnames); @@ -778,7 +778,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -844,7 +844,7 @@ public class TableDescriptor extends CommandMetaData implements XContainerListen } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); bhastoinsert = false; } } diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java index d2c294c90023..7abf13f00b2f 100644 --- a/wizards/com/sun/star/wizards/db/TypeInspector.java +++ b/wizards/com/sun/star/wizards/db/TypeInspector.java @@ -104,7 +104,7 @@ public class TypeInspector } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -133,7 +133,7 @@ public class TypeInspector } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return 0; } } @@ -170,7 +170,7 @@ public class TypeInspector } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return ColumnValue.NO_NULLS; } @@ -239,7 +239,7 @@ public class TypeInspector } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return -1; } @@ -393,7 +393,7 @@ public class TypeInspector } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return INVALID; diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java index 90585b971676..43afd715c6a7 100644 --- a/wizards/com/sun/star/wizards/document/Control.java +++ b/wizards/com/sun/star/wizards/document/Control.java @@ -112,7 +112,7 @@ public class Control extends Shape } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -130,7 +130,7 @@ public class Control extends Shape } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -251,7 +251,7 @@ public class Control extends Shape } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } @@ -335,7 +335,7 @@ public class Control extends Shape } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/document/DatabaseControl.java b/wizards/com/sun/star/wizards/document/DatabaseControl.java index a85abb848cc0..21f1e7af9526 100644 --- a/wizards/com/sun/star/wizards/document/DatabaseControl.java +++ b/wizards/com/sun/star/wizards/document/DatabaseControl.java @@ -95,7 +95,7 @@ public class DatabaseControl extends Control } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -115,7 +115,7 @@ public class DatabaseControl extends Control } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -130,7 +130,7 @@ public class DatabaseControl extends Control } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -250,7 +250,7 @@ public class DatabaseControl extends Control } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } /** diff --git a/wizards/com/sun/star/wizards/document/FormHandler.java b/wizards/com/sun/star/wizards/document/FormHandler.java index ed22e305b996..6aeec8b819f5 100644 --- a/wizards/com/sun/star/wizards/document/FormHandler.java +++ b/wizards/com/sun/star/wizards/document/FormHandler.java @@ -476,7 +476,7 @@ public class FormHandler // if (_xNamedForm.hasByName(sControlName)) // _xNamedForm.removeByName(sControlName); // } catch (Exception e) { -// e.printStackTrace(System.out); +// e.printStackTrace(System.err); // } } } diff --git a/wizards/com/sun/star/wizards/document/GridControl.java b/wizards/com/sun/star/wizards/document/GridControl.java index 218b9817b27b..ab78017c397b 100644 --- a/wizards/com/sun/star/wizards/document/GridControl.java +++ b/wizards/com/sun/star/wizards/document/GridControl.java @@ -78,7 +78,7 @@ public class GridControl extends Shape } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.java b/wizards/com/sun/star/wizards/document/OfficeDocument.java index 7436f26c2a5d..7a85f2d244c1 100644 --- a/wizards/com/sun/star/wizards/document/OfficeDocument.java +++ b/wizards/com/sun/star/wizards/document/OfficeDocument.java @@ -84,7 +84,7 @@ public class OfficeDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -106,7 +106,7 @@ public class OfficeDocument } catch (PropertyVetoException exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -153,7 +153,7 @@ public class OfficeDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return oDocument; } @@ -274,7 +274,7 @@ public class OfficeDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return oDocument; } @@ -312,7 +312,7 @@ public class OfficeDocument catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return false; } } diff --git a/wizards/com/sun/star/wizards/document/Shape.java b/wizards/com/sun/star/wizards/document/Shape.java index 580a97ec7888..bbb793285af3 100644 --- a/wizards/com/sun/star/wizards/document/Shape.java +++ b/wizards/com/sun/star/wizards/document/Shape.java @@ -100,7 +100,7 @@ public class Shape } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -117,7 +117,7 @@ public class Shape } catch (PropertyVetoException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/document/TimeStampControl.java b/wizards/com/sun/star/wizards/document/TimeStampControl.java index 9fcd1ef94388..84e82780bc63 100644 --- a/wizards/com/sun/star/wizards/document/TimeStampControl.java +++ b/wizards/com/sun/star/wizards/document/TimeStampControl.java @@ -84,7 +84,7 @@ public class TimeStampControl extends DatabaseControl } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -121,7 +121,7 @@ public class TimeStampControl extends DatabaseControl } catch (PropertyVetoException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/fax/FaxDocument.java b/wizards/com/sun/star/wizards/fax/FaxDocument.java index 1eb1d1f2f8a0..c4cd286dbba3 100644 --- a/wizards/com/sun/star/wizards/fax/FaxDocument.java +++ b/wizards/com/sun/star/wizards/fax/FaxDocument.java @@ -60,7 +60,7 @@ public class FaxDocument extends TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -115,7 +115,7 @@ public class FaxDocument extends TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } @@ -161,7 +161,7 @@ public class FaxDocument extends TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java index d5c2cd0304ad..6ee8765e8819 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java @@ -194,7 +194,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog catch (Exception exception) { removeTerminateListener(); - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); running = false; } } @@ -771,7 +771,7 @@ public class FaxWizardDialogImpl extends FaxWizardDialog } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/form/FieldLinker.java b/wizards/com/sun/star/wizards/form/FieldLinker.java index 9e827655f62b..ea49e77db444 100644 --- a/wizards/com/sun/star/wizards/form/FieldLinker.java +++ b/wizards/com/sun/star/wizards/form/FieldLinker.java @@ -151,7 +151,7 @@ public class FieldLinker extends DBLimitedFieldSelection } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/form/FormControlArranger.java b/wizards/com/sun/star/wizards/form/FormControlArranger.java index b09683d79c6b..dc3c761e37f6 100644 --- a/wizards/com/sun/star/wizards/form/FormControlArranger.java +++ b/wizards/com/sun/star/wizards/form/FormControlArranger.java @@ -155,7 +155,7 @@ public class FormControlArranger } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } break; case DataType.BIGINT: @@ -375,7 +375,7 @@ public class FormControlArranger } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -593,7 +593,7 @@ public class FormControlArranger } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -648,7 +648,7 @@ public class FormControlArranger } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/form/FormDocument.java b/wizards/com/sun/star/wizards/form/FormDocument.java index 41095da3bc9b..10152d083e41 100644 --- a/wizards/com/sun/star/wizards/form/FormDocument.java +++ b/wizards/com/sun/star/wizards/form/FormDocument.java @@ -93,7 +93,7 @@ public class FormDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -140,7 +140,7 @@ public class FormDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -338,7 +338,7 @@ public class FormDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return false; } finally @@ -519,7 +519,7 @@ public class FormDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -562,7 +562,7 @@ public class FormDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/form/FormWizard.java b/wizards/com/sun/star/wizards/form/FormWizard.java index d898066be1a3..f9d63ad78eab 100644 --- a/wizards/com/sun/star/wizards/form/FormWizard.java +++ b/wizards/com/sun/star/wizards/form/FormWizard.java @@ -160,7 +160,7 @@ public class FormWizard extends DatabaseObjectWizard } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -362,7 +362,7 @@ public class FormWizard extends DatabaseObjectWizard } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } if ((!m_success) && (curFormDocument != null)) { diff --git a/wizards/com/sun/star/wizards/form/StyleApplier.java b/wizards/com/sun/star/wizards/form/StyleApplier.java index b3424cec3bfc..7e1cfff40f82 100644 --- a/wizards/com/sun/star/wizards/form/StyleApplier.java +++ b/wizards/com/sun/star/wizards/form/StyleApplier.java @@ -171,7 +171,7 @@ public class StyleApplier // } // catch (Exception e) // { -// e.printStackTrace(System.out); +// e.printStackTrace(System.err); // } } @@ -200,7 +200,7 @@ public class StyleApplier } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -216,7 +216,7 @@ public class StyleApplier } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return (short) -1; } @@ -316,7 +316,7 @@ public class StyleApplier } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } curFormDocument.unlockallControllers(); } @@ -428,7 +428,7 @@ public class StyleApplier } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -489,7 +489,7 @@ public class StyleApplier } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/form/UIControlArranger.java b/wizards/com/sun/star/wizards/form/UIControlArranger.java index ef0596431639..72f981c48bd3 100644 --- a/wizards/com/sun/star/wizards/form/UIControlArranger.java +++ b/wizards/com/sun/star/wizards/form/UIControlArranger.java @@ -220,7 +220,7 @@ public class UIControlArranger } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/letter/LetterDocument.java b/wizards/com/sun/star/wizards/letter/LetterDocument.java index 54e31e3a3200..fd2ca0cf408b 100644 --- a/wizards/com/sun/star/wizards/letter/LetterDocument.java +++ b/wizards/com/sun/star/wizards/letter/LetterDocument.java @@ -65,7 +65,7 @@ public class LetterDocument extends TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -120,7 +120,7 @@ public class LetterDocument extends TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } @@ -165,7 +165,7 @@ public class LetterDocument extends TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -285,7 +285,7 @@ public class LetterDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -311,7 +311,7 @@ public class LetterDocument extends TextDocument } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java index 6adfc6ea3c6c..31af8c3b8859 100644 --- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java +++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java @@ -251,7 +251,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog catch (Exception exception) { removeTerminateListener(); - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); running = false; } } @@ -844,7 +844,7 @@ public class LetterWizardDialogImpl extends LetterWizardDialog } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/query/Finalizer.java b/wizards/com/sun/star/wizards/query/Finalizer.java index 3c388178ac71..f2b351e57cbe 100644 --- a/wizards/com/sun/star/wizards/query/Finalizer.java +++ b/wizards/com/sun/star/wizards/query/Finalizer.java @@ -148,7 +148,7 @@ public class Finalizer } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return PropertyNames.EMPTY_STRING; } } diff --git a/wizards/com/sun/star/wizards/query/QuerySummary.java b/wizards/com/sun/star/wizards/query/QuerySummary.java index 2076fe85f41d..5a4150352b6f 100644 --- a/wizards/com/sun/star/wizards/query/QuerySummary.java +++ b/wizards/com/sun/star/wizards/query/QuerySummary.java @@ -79,7 +79,7 @@ public class QuerySummary extends QueryMetaData } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/query/QueryWizard.java b/wizards/com/sun/star/wizards/query/QueryWizard.java index 2acf1ba1edab..0e8c4b3ec30e 100644 --- a/wizards/com/sun/star/wizards/query/QueryWizard.java +++ b/wizards/com/sun/star/wizards/query/QueryWizard.java @@ -172,7 +172,7 @@ public class QueryWizard extends DatabaseObjectWizard } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } } @@ -218,7 +218,7 @@ public class QueryWizard extends DatabaseObjectWizard } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } m_groupFilterComponent = null; m_titlesComponent = null; @@ -280,7 +280,7 @@ public class QueryWizard extends DatabaseObjectWizard } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -409,7 +409,7 @@ public class QueryWizard extends DatabaseObjectWizard } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/report/CallReportWizard.java b/wizards/com/sun/star/wizards/report/CallReportWizard.java index 768bbf120af5..d64468a4cdb4 100644 --- a/wizards/com/sun/star/wizards/report/CallReportWizard.java +++ b/wizards/com/sun/star/wizards/report/CallReportWizard.java @@ -53,7 +53,7 @@ public class CallReportWizard } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } }*/ diff --git a/wizards/com/sun/star/wizards/report/DBColumn.java b/wizards/com/sun/star/wizards/report/DBColumn.java index 69321d5cb8e3..83358f2faef8 100644 --- a/wizards/com/sun/star/wizards/report/DBColumn.java +++ b/wizards/com/sun/star/wizards/report/DBColumn.java @@ -133,7 +133,7 @@ public class DBColumn } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -291,7 +291,7 @@ public class DBColumn } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -395,7 +395,7 @@ public class DBColumn } catch (com.sun.star.beans.UnknownPropertyException exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -423,7 +423,7 @@ public class DBColumn } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -466,7 +466,7 @@ public class DBColumn { // sMsgInvalidTextField = oResource.getResText(UIConsts.RID_REPORT + 73); // SystemDialog.showMessageBox(oTextTableHandler.xMSFDoc, "ErrorBox", VclWindowPeerAttribute.OK, sMsgInvalidTextField); - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return true; //most probably this is really the Namecell!!!! } } diff --git a/wizards/com/sun/star/wizards/report/Dataimport.java b/wizards/com/sun/star/wizards/report/Dataimport.java index 19faa339a0d9..186ce145240e 100644 --- a/wizards/com/sun/star/wizards/report/Dataimport.java +++ b/wizards/com/sun/star/wizards/report/Dataimport.java @@ -98,11 +98,11 @@ public class Dataimport extends UnoDialog2 implements com.sun.star.awt.XActionLi // } // catch (Exception e) // { -// e.printStackTrace(System.out); +// e.printStackTrace(System.err); // } // catch (java.lang.Exception javaexception) // { -// javaexception.printStackTrace(System.out); +// javaexception.printStackTrace(System.err); // } // } public void showProgressDisplay(XMultiServiceFactory xMSF, boolean bgetConnection) diff --git a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java index 18afc19732eb..b7e5ed359055 100644 --- a/wizards/com/sun/star/wizards/report/GroupFieldHandler.java +++ b/wizards/com/sun/star/wizards/report/GroupFieldHandler.java @@ -63,7 +63,7 @@ public class GroupFieldHandler extends FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -99,7 +99,7 @@ public class GroupFieldHandler extends FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/report/RecordTable.java b/wizards/com/sun/star/wizards/report/RecordTable.java index 40ffa1587588..7b4cd1a76e78 100644 --- a/wizards/com/sun/star/wizards/report/RecordTable.java +++ b/wizards/com/sun/star/wizards/report/RecordTable.java @@ -78,7 +78,7 @@ public class RecordTable } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/report/ReportFinalizer.java b/wizards/com/sun/star/wizards/report/ReportFinalizer.java index e785420eae28..73a82c2d86e7 100644 --- a/wizards/com/sun/star/wizards/report/ReportFinalizer.java +++ b/wizards/com/sun/star/wizards/report/ReportFinalizer.java @@ -184,7 +184,7 @@ public class ReportFinalizer // XSimpleFileAccess xSimpleFileAccess = (XSimpleFileAccess) com.sun.star.uno.UnoRuntime.queryInterface(XSimpleFileAccess.class, xUcbInterface); // return xSimpleFileAccess.exists(_spath); // } catch (Exception exception) { -// exception.printStackTrace(System.out); +// exception.printStackTrace(System.err); // return false; // }} public void initialize(RecordParser _CurDBMetaData) @@ -224,7 +224,7 @@ public class ReportFinalizer } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return PropertyNames.EMPTY_STRING; } } diff --git a/wizards/com/sun/star/wizards/report/ReportLayouter.java b/wizards/com/sun/star/wizards/report/ReportLayouter.java index a3ba9380000a..e07b6c783c06 100644 --- a/wizards/com/sun/star/wizards/report/ReportLayouter.java +++ b/wizards/com/sun/star/wizards/report/ReportLayouter.java @@ -210,7 +210,7 @@ public class ReportLayouter } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -323,7 +323,7 @@ public class ReportLayouter } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } // CurReportDocument.getDoc().unlockallControllers(); Helper.setUnoPropertyValue(CurUnoDialog.xDialogModel, PropertyNames.PROPERTY_ENABLED, Boolean.TRUE); diff --git a/wizards/com/sun/star/wizards/report/ReportTextDocument.java b/wizards/com/sun/star/wizards/report/ReportTextDocument.java index b65d67e0a405..ba94d3d928ec 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextDocument.java +++ b/wizards/com/sun/star/wizards/report/ReportTextDocument.java @@ -535,7 +535,7 @@ class ReportTextDocument extends com.sun.star.wizards.text.TextDocument implemen String SystemContentPath = JavaTools.convertfromURLNotation(ContentTemplatePath); String sMsgCurCommonReportError = JavaTools.replaceSubString(sMsgCommonReportError, SystemContentPath, "%PATH"); CurDBMetaData.showMessageBox("ErrorBox", VclWindowPeerAttribute.OK, sMsgCurCommonReportError); - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } public void getallDBColumns() diff --git a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java index c47561f394fa..66113172b268 100644 --- a/wizards/com/sun/star/wizards/report/ReportTextImplementation.java +++ b/wizards/com/sun/star/wizards/report/ReportTextImplementation.java @@ -441,7 +441,7 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme } // catch (java.lang.Exception javaexception) // { -// javaexception.printStackTrace(System.out); +// javaexception.printStackTrace(System.err); // } getDoc().unlockallControllers(); getDoc().setLayoutSectionsVisible(false); @@ -480,7 +480,7 @@ public class ReportTextImplementation extends ReportImplementationHelper impleme // } // catch (java.lang.Exception jexception) // { -// jexception.printStackTrace(System.out); +// jexception.printStackTrace(System.err); // } // } private void replaceUserFields() diff --git a/wizards/com/sun/star/wizards/report/ReportWizard.java b/wizards/com/sun/star/wizards/report/ReportWizard.java index 9d4ddea6a2ce..f557a3b9ed6d 100644 --- a/wizards/com/sun/star/wizards/report/ReportWizard.java +++ b/wizards/com/sun/star/wizards/report/ReportWizard.java @@ -303,7 +303,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } if (!bQueryCreated) @@ -512,7 +512,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } } @@ -615,7 +615,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -639,7 +639,7 @@ public class ReportWizard extends DatabaseObjectWizard implements XTextListener } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/table/CGCategory.java b/wizards/com/sun/star/wizards/table/CGCategory.java index bf621a3d8bdf..f560f1ee0adb 100644 --- a/wizards/com/sun/star/wizards/table/CGCategory.java +++ b/wizards/com/sun/star/wizards/table/CGCategory.java @@ -58,7 +58,7 @@ public class CGCategory } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -71,7 +71,7 @@ public class CGCategory } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/table/CGTable.java b/wizards/com/sun/star/wizards/table/CGTable.java index c9d1ef81aaed..9237901c4b07 100644 --- a/wizards/com/sun/star/wizards/table/CGTable.java +++ b/wizards/com/sun/star/wizards/table/CGTable.java @@ -48,7 +48,7 @@ public class CGTable } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -80,7 +80,7 @@ public class CGTable } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/table/FieldDescription.java b/wizards/com/sun/star/wizards/table/FieldDescription.java index c941464c0959..19bfecb8c4f8 100644 --- a/wizards/com/sun/star/wizards/table/FieldDescription.java +++ b/wizards/com/sun/star/wizards/table/FieldDescription.java @@ -114,7 +114,7 @@ public class FieldDescription } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return bexists; } @@ -151,7 +151,7 @@ public class FieldDescription } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/table/FieldFormatter.java b/wizards/com/sun/star/wizards/table/FieldFormatter.java index e3dc0626a428..e64375b0b1af 100644 --- a/wizards/com/sun/star/wizards/table/FieldFormatter.java +++ b/wizards/com/sun/star/wizards/table/FieldFormatter.java @@ -92,7 +92,7 @@ public class FieldFormatter implements XItemListener } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } FontDescriptor oFontDesc = new FontDescriptor(); diff --git a/wizards/com/sun/star/wizards/table/Finalizer.java b/wizards/com/sun/star/wizards/table/Finalizer.java index 9330f2fba79d..17883abbfb78 100644 --- a/wizards/com/sun/star/wizards/table/Finalizer.java +++ b/wizards/com/sun/star/wizards/table/Finalizer.java @@ -101,7 +101,7 @@ public class Finalizer } catch (SQLException e1) { - e1.printStackTrace(System.out); + e1.printStackTrace(System.err); } CurUnoDialog.insertLabel("lblCatalog", new String[] @@ -136,7 +136,7 @@ public class Finalizer } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } nListBoxPosX = 200; } @@ -156,7 +156,7 @@ public class Finalizer } catch (Exception e1) { - e1.printStackTrace(System.out); + e1.printStackTrace(System.err); } CurUnoDialog.insertLabel("lblSchema", new String[] @@ -191,7 +191,7 @@ public class Finalizer } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } @@ -251,7 +251,7 @@ public class Finalizer } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java index 0df75c57e827..83d33398aab9 100644 --- a/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java +++ b/wizards/com/sun/star/wizards/table/PrimaryKeyHandler.java @@ -299,7 +299,7 @@ public class PrimaryKeyHandler implements XFieldSelectionListener } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -359,7 +359,7 @@ public class PrimaryKeyHandler implements XFieldSelectionListener } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -373,7 +373,7 @@ public class PrimaryKeyHandler implements XFieldSelectionListener } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/table/ScenarioSelector.java b/wizards/com/sun/star/wizards/table/ScenarioSelector.java index 9da13aecc37f..51a7b4175c19 100644 --- a/wizards/com/sun/star/wizards/table/ScenarioSelector.java +++ b/wizards/com/sun/star/wizards/table/ScenarioSelector.java @@ -153,7 +153,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } initializeCategory(BUSINESS); } @@ -182,7 +182,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -212,7 +212,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } String[] fieldnames = new String[afieldnameVector.size()]; @@ -238,7 +238,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } @@ -263,7 +263,7 @@ public class ScenarioSelector extends FieldSelection implements XItemListener, X } catch (RuntimeException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } if (!stablename.equals(PropertyNames.EMPTY_STRING)) { diff --git a/wizards/com/sun/star/wizards/table/TableWizard.java b/wizards/com/sun/star/wizards/table/TableWizard.java index 89133a7a8a9b..ddd4be3d65bb 100644 --- a/wizards/com/sun/star/wizards/table/TableWizard.java +++ b/wizards/com/sun/star/wizards/table/TableWizard.java @@ -230,7 +230,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } */ @@ -328,7 +328,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -376,7 +376,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } return PropertyNames.EMPTY_STRING; } @@ -407,7 +407,7 @@ public class TableWizard extends DatabaseObjectWizard implements XTextListener } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return true; } diff --git a/wizards/com/sun/star/wizards/text/TextDocument.java b/wizards/com/sun/star/wizards/text/TextDocument.java index 0fe10c4213be..06a885c50072 100644 --- a/wizards/com/sun/star/wizards/text/TextDocument.java +++ b/wizards/com/sun/star/wizards/text/TextDocument.java @@ -259,7 +259,7 @@ public class TextDocument } catch (PropertyVetoException e1) { - e1.printStackTrace(System.out); + e1.printStackTrace(System.err); } } Object oDoc = OfficeDocument.load(xFrame, sDefaultTemplate, "_self", loadValues); @@ -299,7 +299,7 @@ public class TextDocument } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -445,7 +445,7 @@ public class TextDocument } catch (NoSuchElementException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return false; } } diff --git a/wizards/com/sun/star/wizards/text/TextFieldHandler.java b/wizards/com/sun/star/wizards/text/TextFieldHandler.java index 32b5255b9366..db25b3f147b8 100644 --- a/wizards/com/sun/star/wizards/text/TextFieldHandler.java +++ b/wizards/com/sun/star/wizards/text/TextFieldHandler.java @@ -84,7 +84,7 @@ public class TextFieldHandler } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return PropertyNames.EMPTY_STRING; } @@ -121,7 +121,7 @@ public class TextFieldHandler } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -192,7 +192,7 @@ public class TextFieldHandler catch (Exception e) { // TODO Auto-generated catch block - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -213,7 +213,7 @@ public class TextFieldHandler } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -313,7 +313,7 @@ public class TextFieldHandler } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -333,7 +333,7 @@ public class TextFieldHandler } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/text/TextSectionHandler.java b/wizards/com/sun/star/wizards/text/TextSectionHandler.java index 7c80d722adce..931a0f30dd17 100644 --- a/wizards/com/sun/star/wizards/text/TextSectionHandler.java +++ b/wizards/com/sun/star/wizards/text/TextSectionHandler.java @@ -66,7 +66,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -86,7 +86,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -99,7 +99,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -122,7 +122,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -141,7 +141,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -168,7 +168,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -194,7 +194,7 @@ public class TextSectionHandler } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -234,7 +234,7 @@ public class TextSectionHandler } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -257,7 +257,7 @@ public class TextSectionHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/text/TextStyleHandler.java b/wizards/com/sun/star/wizards/text/TextStyleHandler.java index 70cbca47f91f..b1ebdc5407ea 100644 --- a/wizards/com/sun/star/wizards/text/TextStyleHandler.java +++ b/wizards/com/sun/star/wizards/text/TextStyleHandler.java @@ -61,7 +61,7 @@ public class TextStyleHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -80,7 +80,7 @@ public class TextStyleHandler } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return null; } @@ -99,7 +99,7 @@ public class TextStyleHandler } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/text/TextTableHandler.java b/wizards/com/sun/star/wizards/text/TextTableHandler.java index 42dde2f4b36f..c992946f163b 100644 --- a/wizards/com/sun/star/wizards/text/TextTableHandler.java +++ b/wizards/com/sun/star/wizards/text/TextTableHandler.java @@ -68,7 +68,7 @@ public class TextTableHandler } catch (java.lang.Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -91,7 +91,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return xTextTable; } @@ -107,7 +107,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -127,7 +127,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -144,7 +144,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -158,7 +158,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -171,7 +171,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -187,7 +187,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -205,7 +205,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -237,7 +237,7 @@ public class TextTableHandler } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/text/ViewHandler.java b/wizards/com/sun/star/wizards/text/ViewHandler.java index 6324fdbec492..44f67a90a740 100644 --- a/wizards/com/sun/star/wizards/text/ViewHandler.java +++ b/wizards/com/sun/star/wizards/text/ViewHandler.java @@ -89,7 +89,7 @@ public class ViewHandler } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/ui/AggregateComponent.java b/wizards/com/sun/star/wizards/ui/AggregateComponent.java index 5afc462d846b..15c759c1499e 100644 --- a/wizards/com/sun/star/wizards/ui/AggregateComponent.java +++ b/wizards/com/sun/star/wizards/ui/AggregateComponent.java @@ -188,7 +188,7 @@ public class AggregateComponent extends ControlScroller } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } @@ -325,7 +325,7 @@ public class AggregateComponent extends ControlScroller } catch (SQLException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return false; } @@ -414,7 +414,7 @@ public class AggregateComponent extends ControlScroller } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -543,7 +543,7 @@ public class AggregateComponent extends ControlScroller } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -593,7 +593,7 @@ public class AggregateComponent extends ControlScroller } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java index 1993035b5a10..a52edad88b70 100644 --- a/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/CommandFieldSelection.java @@ -150,7 +150,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator< } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -264,7 +264,7 @@ public class CommandFieldSelection extends FieldSelection implements Comparator< } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java index b1a83bba9c4c..775e6682a964 100644 --- a/wizards/com/sun/star/wizards/ui/ControlScroller.java +++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java @@ -453,7 +453,7 @@ public abstract class ControlScroller } catch (java.lang.Exception ex) { - ex.printStackTrace(System.out); + ex.printStackTrace(System.err); return null; } } diff --git a/wizards/com/sun/star/wizards/ui/FieldSelection.java b/wizards/com/sun/star/wizards/ui/FieldSelection.java index 821262643098..8abf43359f33 100644 --- a/wizards/com/sun/star/wizards/ui/FieldSelection.java +++ b/wizards/com/sun/star/wizards/ui/FieldSelection.java @@ -145,7 +145,7 @@ public class FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } @@ -349,7 +349,7 @@ public class FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -431,7 +431,7 @@ public class FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -465,7 +465,7 @@ public class FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -497,7 +497,7 @@ public class FieldSelection } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/ui/FilterComponent.java b/wizards/com/sun/star/wizards/ui/FilterComponent.java index a9af6fb390ec..e9a756ffefd2 100644 --- a/wizards/com/sun/star/wizards/ui/FilterComponent.java +++ b/wizards/com/sun/star/wizards/ui/FilterComponent.java @@ -219,7 +219,7 @@ public class FilterComponent } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return PropertyNames.EMPTY_STRING; } @@ -342,7 +342,7 @@ public class FilterComponent } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } return PropertyNames.EMPTY_STRING; } @@ -711,7 +711,7 @@ public class FilterComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -758,7 +758,7 @@ public class FilterComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return false; } } @@ -819,7 +819,7 @@ public class FilterComponent } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } } @@ -860,7 +860,7 @@ public class FilterComponent } catch (Exception e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); } if ((iselected.length) == 0) { @@ -885,7 +885,7 @@ public class FilterComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return null; } @@ -925,7 +925,7 @@ public class FilterComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } return -1; } diff --git a/wizards/com/sun/star/wizards/ui/PeerConfig.java b/wizards/com/sun/star/wizards/ui/PeerConfig.java index c506307f6b91..e01942c8d18b 100644 --- a/wizards/com/sun/star/wizards/ui/PeerConfig.java +++ b/wizards/com/sun/star/wizards/ui/PeerConfig.java @@ -138,7 +138,7 @@ public class PeerConfig implements XWindowListener } catch (RuntimeException re) { - re.printStackTrace(System.out); + re.printStackTrace(System.err); throw re; } } diff --git a/wizards/com/sun/star/wizards/ui/SortingComponent.java b/wizards/com/sun/star/wizards/ui/SortingComponent.java index 03c0fc4fce3f..32ec6c56bf85 100644 --- a/wizards/com/sun/star/wizards/ui/SortingComponent.java +++ b/wizards/com/sun/star/wizards/ui/SortingComponent.java @@ -128,7 +128,7 @@ public class SortingComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -233,7 +233,7 @@ public class SortingComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -274,7 +274,7 @@ public class SortingComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -357,7 +357,7 @@ public class SortingComponent } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.java b/wizards/com/sun/star/wizards/ui/UnoDialog.java index d9cfffd7fffc..c2f9dba76d7c 100644 --- a/wizards/com/sun/star/wizards/ui/UnoDialog.java +++ b/wizards/com/sun/star/wizards/ui/UnoDialog.java @@ -88,7 +88,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -106,7 +106,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); iKey = 2000; } return iKey; @@ -160,7 +160,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -186,7 +186,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -200,7 +200,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { // com.sun.star.container.NoSuchElementException, com.sun.star.beans.UnknownPropertyException, - exception.printStackTrace(System.out); // com.sun.star.lang.WrappedTargetException, com.sun.star.beans.PropertyVetoException + exception.printStackTrace(System.err); // com.sun.star.lang.WrappedTargetException, com.sun.star.beans.PropertyVetoException return null; // com.sun.star.lang.IllegalArgumentException } } @@ -220,7 +220,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { // com.sun.star.container.NoSuchElementException, com.sun.star.beans.UnknownPropertyException, - exception.printStackTrace(System.out); // com.sun.star.lang.WrappedTargetException, com.sun.star.beans.PropertyVetoException + exception.printStackTrace(System.err); // com.sun.star.lang.WrappedTargetException, com.sun.star.beans.PropertyVetoException } } @@ -391,7 +391,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -425,7 +425,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -488,7 +488,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -507,7 +507,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -532,7 +532,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -554,7 +554,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -586,7 +586,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -604,7 +604,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -619,7 +619,7 @@ public class UnoDialog implements EventNames } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -646,7 +646,7 @@ public class UnoDialog implements EventNames } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); return null; } } @@ -1045,7 +1045,7 @@ public class UnoDialog implements EventNames } catch (IllegalArgumentException e) { - e.printStackTrace(System.out); + e.printStackTrace(System.err); return false; } //TODO: The following methods could be wrapped in an own class implementation diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.java b/wizards/com/sun/star/wizards/ui/WizardDialog.java index 2e5682fedbe6..5904ec6ccc9b 100644 --- a/wizards/com/sun/star/wizards/ui/WizardDialog.java +++ b/wizards/com/sun/star/wizards/ui/WizardDialog.java @@ -163,7 +163,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (com.sun.star.lang.IllegalArgumentException exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } @@ -185,7 +185,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (IllegalArgumentException exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return false; } } @@ -210,7 +210,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return -1; } } @@ -269,7 +269,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } } @@ -308,7 +308,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return -1; } } @@ -337,7 +337,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return null; } } @@ -524,7 +524,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } } @@ -618,7 +618,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return false; } } @@ -708,7 +708,7 @@ public abstract class WizardDialog extends UnoDialog2 implements VetoableChangeL } catch (com.sun.star.uno.Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); return -1; } } diff --git a/wizards/com/sun/star/wizards/web/CallWizard.java b/wizards/com/sun/star/wizards/web/CallWizard.java index 6f146288c335..2976bd598d62 100644 --- a/wizards/com/sun/star/wizards/web/CallWizard.java +++ b/wizards/com/sun/star/wizards/web/CallWizard.java @@ -278,7 +278,7 @@ public class CallWizard } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/web/WWD_Startup.java b/wizards/com/sun/star/wizards/web/WWD_Startup.java index 442f9a4e4269..36fb592d3d93 100644 --- a/wizards/com/sun/star/wizards/web/WWD_Startup.java +++ b/wizards/com/sun/star/wizards/web/WWD_Startup.java @@ -419,7 +419,7 @@ public abstract class WWD_Startup extends WWD_General } catch (java.lang.Exception jexception) { - jexception.printStackTrace(System.out); + jexception.printStackTrace(System.err); } } diff --git a/wizards/com/sun/star/wizards/web/WebWizard.java b/wizards/com/sun/star/wizards/web/WebWizard.java index c5556227f8e7..17ee19596c1e 100644 --- a/wizards/com/sun/star/wizards/web/WebWizard.java +++ b/wizards/com/sun/star/wizards/web/WebWizard.java @@ -52,7 +52,7 @@ public class WebWizard extends WWD_Events } catch (Exception exception) { - exception.printStackTrace(System.out); + exception.printStackTrace(System.err); } } } diff --git a/wizards/com/sun/star/wizards/web/export/FilterExporter.java b/wizards/com/sun/star/wizards/web/export/FilterExporter.java index bfe0af3f3c5a..39b81e1f8744 100644 --- a/wizards/com/sun/star/wizards/web/export/FilterExporter.java +++ b/wizards/com/sun/star/wizards/web/export/FilterExporter.java @@ -55,7 +55,7 @@ public class FilterExporter extends AbstractExporter } catch (IOException iox) { - iox.printStackTrace(System.out); + iox.printStackTrace(System.err); result = false; throw iox; } |