validates that the passed parameter is not null or empty string , in case it is n't than illegalargumentexception is being thrown . concode_field_sep Map<String,Stock> stockMap concode_field_sep List<Stock> getAll concode_elem_sep Stock get concode_elem_sep long save concode_elem_sep Stock getBySymbol concode_elem_sep void validateNoNull concode_elem_sep void update
void function ( String arg0 , String arg1 ) { validateNoNull ( arg0 , arg1 ) ; if ( arg0 . trim ( ) . length ( ) == 0 ) { throw new IllegalArgumentException ( MessageFormat . format ( "srini_string" , arg1 ) ) ; } }