1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Bug 532905 - When throwing a CompositingNotImplementedError, include the kind of IType or ICPPEvaluation for which compositing is not implemented

Change-Id: I1414f70ae5f86263fc313f61aa36485df8c4cb3f
This commit is contained in:
Nathan Ridge 2018-03-30 21:08:48 -04:00
parent d598331c81
commit f80be34148

View file

@ -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) {