if(MetricsCalculator.isVariableValid(IdentToken.getText())== false){
//Check if there is a formula describtion with that name
//algorithmNameToID return the token-name if the id was not found
if(MetricsUIRequestHandler.algorithmNameToID(IdentToken.getText()).equals(IdentToken.getText())){
ErrorList.getInstance().
addException(new FormulaVariableNotFoundException(IdentToken.getText(), IdentToken.getCharPositionInLine()));
}else{
ErrorList.getInstance().
addException(new AlgorithmIDTranslateException(IdentToken.getText(), MetricsUIRequestHandler.algorithmNameToID(IdentToken.getText())));
}