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

Bug 45203. Include class stack in the error message.

This commit is contained in:
Sergey Prigogin 2013-08-06 19:30:15 -07:00
parent 9d1ea68fe6
commit ab015da9d3

View file

@ -501,8 +501,9 @@ public class IncludeOrganizer {
declarationText.append(variable.getName());
declarationText.append(';');
} else {
CUIPlugin.logError("Unexpected type of binding " + binding.getName() + //$NON-NLS-1$
" - " + binding.getClass().getSimpleName()); //$NON-NLS-1$
CUIPlugin.log(new IllegalArgumentException(
"Unexpected type of binding " + binding.getName() + //$NON-NLS-1$
" - " + binding.getClass().getSimpleName())); //$NON-NLS-1$
}
// Append the closing curly brackets from the namespaces (if any).