* @return exception which can be thrown
*/
public static RuntimeException ambiguousLanguageDefinition(
Class<? extends Language> id, Language foundLanguage, Language newLanguage)
{
return new UnhandledException("Invalid approach detected to replace " + id.getName() + ". Can't replace " +
foundLanguage.getClass().getName() + " with " + newLanguage.getClass().getName());
}