Author: sflanigan
Date: 2009-07-10 02:59:49 -0400 (Fri, 10 Jul 2009)
New Revision: 16523
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3557 Externalize English strings (passing
Throwable's localized message to Status/IStatus)
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java 2009-07-10
06:52:36 UTC (rev 16522)
+++
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java 2009-07-10
06:59:49 UTC (rev 16523)
@@ -24,14 +24,14 @@
* @param throwable
*/
public static void reportProblem(String plugin, Throwable throwable) {
- String message = (throwable == null) ? null : throwable.getMessage();
+ String message = (throwable == null) ? null : throwable.getLocalizedMessage();
reportProblem(plugin, message, throwable);
}
/**
* Method for processing a throwable caught in Red Hat code.
* @param plugin
- * @param message
+ * @param message (translatable)
* @param throwable
*/
public static void reportProblem(String plugin, String message, Throwable throwable) {