mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-05 16:15:25 +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:
parent
e0ddf0dddf
commit
82bfb9bc00
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue