mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
Use UnsupportedOperationException instead of AssertionError.
This commit is contained in:
parent
5d4ffbfa4b
commit
980e479eef
1 changed files with 13 additions and 13 deletions
|
@ -68,7 +68,7 @@ class AutoTypeResolver implements ICPPFunctionTemplate {
|
|||
}
|
||||
|
||||
public ICPPParameter[] getParameters() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public int getRequiredArgumentCount() throws DOMException {
|
||||
|
@ -80,7 +80,7 @@ class AutoTypeResolver implements ICPPFunctionTemplate {
|
|||
}
|
||||
|
||||
public IScope getFunctionScope() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public boolean isStatic() throws DOMException {
|
||||
|
@ -104,39 +104,39 @@ class AutoTypeResolver implements ICPPFunctionTemplate {
|
|||
}
|
||||
|
||||
public String getName() {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public char[] getNameCharArray() {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public ILinkage getLinkage() throws CoreException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public IBinding getOwner() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public IScope getScope() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public Object getAdapter(Class adapter) {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public String[] getQualifiedName() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public char[][] getQualifiedNameCharArray() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
|
||||
public boolean isGloballyQualified() throws DOMException {
|
||||
throw new AssertionError(UNEXPECTED_CALL);
|
||||
throw new UnsupportedOperationException(UNEXPECTED_CALL);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue