1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +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(variable.getName());
declarationText.append(';'); declarationText.append(';');
} else { } else {
CUIPlugin.logError("Unexpected type of binding " + binding.getName() + //$NON-NLS-1$ CUIPlugin.log(new IllegalArgumentException(
" - " + binding.getClass().getSimpleName()); //$NON-NLS-1$ "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). // Append the closing curly brackets from the namespaces (if any).