mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
log error
This commit is contained in:
parent
6f4cf3159b
commit
b9541fc2a5
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ package org.eclipse.cdt.internal.core.model;
|
|||
* All Rights Reserved.
|
||||
*/
|
||||
|
||||
import org.eclipse.cdt.core.CCorePlugin;
|
||||
import org.eclipse.cdt.core.model.CModelException;
|
||||
import org.eclipse.cdt.core.model.ICElement;
|
||||
import org.eclipse.cdt.core.model.ICElementVisitor;
|
||||
|
@ -81,6 +82,7 @@ public abstract class CElement extends PlatformObject implements ICElement {
|
|||
try {
|
||||
return getElementInfo() != null;
|
||||
} catch (CModelException e) {
|
||||
CCorePlugin.log(e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue