Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Mueller2014-10-16 06:46:48 +0000
committerMarvin Mueller2014-10-16 07:02:33 +0000
commitb09e2d60c6e32671329e5630993d4f1ae5a80c61 (patch)
tree524ceb952b1e8de5253c483926af5473a0e60c19
parentfbcc9bfedc318f2ad6a1e24aa159c1ff1668d4ba (diff)
downloadorg.eclipse.jubula.core-b09e2d60c6e32671329e5630993d4f1ae5a80c61.tar.gz
org.eclipse.jubula.core-b09e2d60c6e32671329e5630993d4f1ae5a80c61.tar.xz
org.eclipse.jubula.core-b09e2d60c6e32671329e5630993d4f1ae5a80c61.zip
Sprint task - add error handling for problems with postTaskData
-rw-r--r--org.eclipse.jubula.client.alm.mylyn.core/src/org/eclipse/jubula/client/alm/mylyn/core/utils/ALMAccess.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jubula.client.alm.mylyn.core/src/org/eclipse/jubula/client/alm/mylyn/core/utils/ALMAccess.java b/org.eclipse.jubula.client.alm.mylyn.core/src/org/eclipse/jubula/client/alm/mylyn/core/utils/ALMAccess.java
index ab0885fe3..a564ebdb8 100644
--- a/org.eclipse.jubula.client.alm.mylyn.core/src/org/eclipse/jubula/client/alm/mylyn/core/utils/ALMAccess.java
+++ b/org.eclipse.jubula.client.alm.mylyn.core/src/org/eclipse/jubula/client/alm/mylyn/core/utils/ALMAccess.java
@@ -311,6 +311,12 @@ public final class ALMAccess {
} catch (CoreException e) {
status = new Status(IStatus.ERROR, Activator.ID,
e.getLocalizedMessage());
+ } catch (IllegalArgumentException e) {
+ LOG.error("IllegalArgumentException occured", e); //$NON-NLS-1$
+ // This is necessary due to an IllegalArgumentException which might be
+ // thrown in the TaskDataHandler
+ status = new Status(IStatus.ERROR, Activator.ID,
+ e.getLocalizedMessage(), e);
}
return status;
}

Back to the top