Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2001-11-02 10:52:50 -0500
committerDani Megert2001-11-02 10:52:50 -0500
commit155b38fe35a3d94feeaa11d3bed22357eb489bd8 (patch)
treefd2ef2b7925a29297eba83fb6a83314708397c69
parent4ce51bc3b00300c7823087b5205715877ce6a41a (diff)
downloadeclipse.platform.text-0_208.tar.gz
eclipse.platform.text-0_208.tar.xz
eclipse.platform.text-0_208.zip
Better error message in cases of absent error messagev0_208av0_208
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties5
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/util/ExceptionHandler.java3
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties
index b4e4044b5..43b0b5d4b 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties
@@ -56,9 +56,6 @@ Search.Error.openResultView.message= Could not open the search results view
Search.Error.deleteMarkers.title= Search Error
Search.Error.deleteMarkers.message= An error occurred during deletion of search markers
-Search.Error.resourceChanged.title= Search Error
-Search.Error.resourceChanged.message= An error occurred during handling of resource changes
-
Search.Error.createMarker.title=Search Error
Search.Error.createMarker.message= Could not create the search marker
@@ -133,3 +130,5 @@ ScopePart.workspaceScope.text=&Workspace
CopyToClipboardAction.label = Copy to Clip&board
CopyToClipboardAction.tooltip = Copy to Clipboard
+
+ExceptionDialog.seeErrorLogMessage= See error log for more details
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/util/ExceptionHandler.java b/org.eclipse.search/search/org/eclipse/search/internal/ui/util/ExceptionHandler.java
index fff0239c3..ffae686aa 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/util/ExceptionHandler.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/util/ExceptionHandler.java
@@ -13,6 +13,7 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.search.internal.ui.SearchMessages;
import org.eclipse.search.internal.ui.SearchPlugin;
import org.eclipse.search.ui.SearchUI;
import org.eclipse.jface.dialogs.ErrorDialog;
@@ -126,7 +127,7 @@ public class ExceptionHandler {
msg.write("\n\n"); //$NON-NLS-1$
}
if (exceptionMessage == null || exceptionMessage.length() == 0)
- msg.write(t.toString());
+ msg.write(SearchMessages.getString("ExceptionDialog.seeErrorLogMessage")); //$NON-NLS-1$
else
msg.write(exceptionMessage);
MessageDialog.openError(shell, title, msg.toString());

Back to the top