else if ( e instanceof org.antlr.runtime.MismatchedSetException ) {
MismatchedSetException mmse = (MismatchedSetException) e;
return Messages.getString("Metrics.Calculate.Error.Antlr.mismatchedCharacter")+getCharErrorDisplay(e.c, tokens,processor)+Messages.getString("Metrics.Calculate.Error.Antlr.ExpectingSet")+mmse.expecting; //$NON-NLS-1$ //$NON-NLS-2$
}
else if ( e instanceof org.antlr.runtime.MismatchedRangeException ) {
MismatchedRangeException mre = (MismatchedRangeException) e;
return Messages.getString("Metrics.Calculate.Error.Antlr.mismatchedCharacter")+getCharErrorDisplay(e.c, tokens,processor)+Messages.getString("Metrics.Calculate.Error.Antlr.ExpectingSet")+ //$NON-NLS-1$ //$NON-NLS-2$
getCharErrorDisplay(mre.a, tokens,processor)+".."+getCharErrorDisplay(mre.b, tokens,processor);
}
else {
return processor.getErrorMessage( e, tokens);