Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-02-22 06:39:39 -0500
committerUwe Stieber2014-02-22 06:39:39 -0500
commita376a9f919386db0586967ef722693d23088d321 (patch)
treedcfcdcdd344feb4aa740f4b0e5892fd33c5786f0
parent922aca6844fffbce850e9394173f7f36b410f911 (diff)
downloadorg.eclipse.tcf-a376a9f919386db0586967ef722693d23088d321.tar.gz
org.eclipse.tcf-a376a9f919386db0586967ef722693d23088d321.tar.xz
org.eclipse.tcf-a376a9f919386db0586967ef722693d23088d321.zip
Target Explorer: Always add the exception class name to the timeout message
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java
index 60734bbde..e7eb003b0 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/steps/WaitForReadyStep.java
@@ -84,6 +84,7 @@ public class WaitForReadyStep extends AbstractPeerNodeStep {
if (lastError.get() != null) {
String cause = lastError.get().getLocalizedMessage();
if (cause == null || "".equals(cause.trim())) cause = lastError.get().getClass().getName(); //$NON-NLS-1$
+ if (!cause.contains(lastError.get().getClass().getName())) cause += " (" + lastError.get().getClass().getName() + ")"; //$NON-NLS-1$ //$NON-NLS-2$
message += NLS.bind(Messages.WaitForReadyStep_error_timeout_cause, cause);
}
callback(data, fullQualifiedId, callback, StatusHelper.getStatus(new TimeoutException(message)), null);

Back to the top