Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-10-31 12:45:10 -0400
committerfbecker2010-10-31 12:45:10 -0400
commit7812a9f8ebde71fdf0d48a352d4c1056e5322ef4 (patch)
tree6ee06cd6c8205d78fc7a46c4ddf12d62b95f7401
parent8a96ea5b20d9357aaef3752ba70e7ee6062223d2 (diff)
downloadorg.eclipse.mylyn.tasks-7812a9f8ebde71fdf0d48a352d4c1056e5322ef4.tar.gz
org.eclipse.mylyn.tasks-7812a9f8ebde71fdf0d48a352d4c1056e5322ef4.tar.xz
org.eclipse.mylyn.tasks-7812a9f8ebde71fdf0d48a352d4c1056e5322ef4.zip
ASSIGNED - bug 329163: better message in CustomTransitionManager:parse
https://bugs.eclipse.org/bugs/show_bug.cgi?id=329163
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java
index 9504c8793..b2cfb43d9 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/CustomTransitionManager.java
@@ -359,8 +359,10 @@ public class CustomTransitionManager implements Serializable {
setValid(true);
} catch (XmlRpcException e) {
setValid(false);
+ String message = e.linkedException == null ? e.getMessage() : e.getMessage() + ">"
+ + e.linkedException.getMessage();
throw new CoreException(new Status(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN, 1,
- "Error parsing xmlrpc response.\n\n" + e.getMessage(), e)); //$NON-NLS-1$
+ "Error parsing xmlrpc response.\n\n" + message, e)); //$NON-NLS-1$
}
}

Back to the top