1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Improved diagnostic message

This commit is contained in:
Alena Laskavaia 2010-05-08 01:23:29 +00:00
parent 26dc9d8c68
commit d7586e020f

View file

@ -47,7 +47,7 @@ public class CodanMarkerProblemReporter implements IProblemReporterPersistent {
IProblem problem = CheckersRegisry.getInstance().getResourceProfile(
file).findProblem(id);
if (problem == null)
throw new IllegalArgumentException("Id is not registered"); //$NON-NLS-1$
throw new IllegalArgumentException("Id is not registered:" + id); //$NON-NLS-1$
if (problem.isEnabled() == false)
return; // skip
int severity = problem.getSeverity().intValue();