Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2018-03-31 01:08:48 +0000
committerNathan Ridge2018-03-31 01:08:48 +0000
commitf80be34148634c16221f9ae9ef673d7df1465e40 (patch)
treee3e0fd3e9b94df6ae60a27ee3e5b8946547d9ce5
parentd598331c81b730a071e85b40b125dd6db9556e3e (diff)
downloadorg.eclipse.cdt-f80be34148634c16221f9ae9ef673d7df1465e40.tar.gz
org.eclipse.cdt-f80be34148634c16221f9ae9ef673d7df1465e40.tar.xz
org.eclipse.cdt-f80be34148634c16221f9ae9ef673d7df1465e40.zip
Bug 532905 - When throwing a CompositingNotImplementedError, include the kind of IType or ICPPEvaluation for which compositing is not implemented
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java
index 5e5f16ea90..4aff3b0b19 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java
@@ -274,7 +274,7 @@ public class CPPCompositesFactory extends AbstractCompositeFactory {
return rtype;
}
- throw new CompositingNotImplementedError();
+ throw new CompositingNotImplementedError(rtype.getClass().getName());
}
public ICPPEvaluation getCompositeEvaluation(ICPPEvaluation eval) {
@@ -553,7 +553,7 @@ public class CPPCompositesFactory extends AbstractCompositeFactory {
return e;
}
- throw new CompositingNotImplementedError();
+ throw new CompositingNotImplementedError(eval.getClass().getName());
}
private ICPPEvaluation[] getCompositeEvaluationArray(ICPPEvaluation[] array) {

Back to the top