It does return error message to the jsf page from validateLanguageName method.