1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +02:00

Bug 479528 - Make an indexer error message more informative

Change-Id: If58c3aa66ebcf15d0a21fd765b64e75bc1137b86
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
This commit is contained in:
Nathan Ridge 2015-11-27 01:56:58 -05:00 committed by Sergey Prigogin
parent e9800bd4a1
commit f5707a4d62

View file

@ -113,7 +113,9 @@ class PDOMCPPClassType extends PDOMCPPBinding implements IPDOMCPPClassType, IPDO
@Override
public final void addChild(PDOMNode member) throws CoreException {
throw new UnsupportedOperationException("addMember method should be called instead."); //$NON-NLS-1$
throw new UnsupportedOperationException("addMember should be called instead to add " + //$NON-NLS-1$
(member instanceof IBinding ? ((IBinding) member).getName() : member.toString()) +
" to " + getName()); //$NON-NLS-1$
}
@Override