private void validateClassName(String className){
  String nvalue=className.trim();
  if (!nvalue.matches(CLASS_RE)) {
    throw PropertyException.illegalPropertyValueException(this,className);
  }
}

private void validateClassName ( String className ) { String nvalue = className . trim ( ) ; if ( ! nvalue . matches ( CLASS_RE ) ) { throw PropertyException . illegalPropertyValueException ( this , className ) ; } }
do some basic checks to make sure the string representation is valid .
