public static void validateName ( String name ) throws InvalidNameException { if ( StringUtils . isEmpty ( name ) ) { throw ExceptionFactory . invalidNameException ( Messages . i18n . format ( "FieldValidator.EmptyNameError" ) ) ; //$NON-NLS-1$ } }
Validates an entity name .