Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IMethodDeclaration.java')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IMethodDeclaration.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IMethodDeclaration.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IMethodDeclaration.java
index 35eb830805d..0ec007f761e 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IMethodDeclaration.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IMethodDeclaration.java
@@ -16,7 +16,7 @@ public interface IMethodDeclaration extends IMember, IFunctionDeclaration {
* @exception CModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource.
*/
- boolean isConstructor();
+ boolean isConstructor() throws CModelException;
/**
* Returns whether this method is a destructor.
@@ -24,7 +24,7 @@ public interface IMethodDeclaration extends IMember, IFunctionDeclaration {
* @exception CModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource.
*/
- boolean isDestructor();
+ boolean isDestructor() throws CModelException;
/**
* Returns whether this method is an operator method.
@@ -32,7 +32,7 @@ public interface IMethodDeclaration extends IMember, IFunctionDeclaration {
* @exception CModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource.
*/
- boolean isOperator();
+ boolean isOperator() throws CModelException;
/**
* Returns whether this method is declared pure virtual.
@@ -42,19 +42,19 @@ public interface IMethodDeclaration extends IMember, IFunctionDeclaration {
* @exception CModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource.
*/
- boolean isPureVirtual();
+ boolean isPureVirtual() throws CModelException;
/**
* Returns if this method is static or not
* @return boolean
*/
- public boolean isStatic();
+ public boolean isStatic() throws CModelException;
/**
* Returns if this method is inline or not
* @return boolean
*/
- public boolean isInline();
+ public boolean isInline() throws CModelException;
/**
* Returns whether this method is declared virtual.
@@ -62,11 +62,11 @@ public interface IMethodDeclaration extends IMember, IFunctionDeclaration {
* @exception CModelException if this element does not exist or if an
* exception occurs while accessing its corresponding resource.
*/
- boolean isVirtual();
+ boolean isVirtual() throws CModelException;
/**
* return true if the member is a friend.
*/
- public boolean isFriend();
+ public boolean isFriend() throws CModelException;
}

Back to the top