public String handleGetMessage(Locale locale,String key){
  if (bundleName() != null) {
    ResourceBundle rb=ResourceBundle.getBundle(bundleName(),locale);
    if (rb.containsKey(key)) {
      return rb.getString(key);
    }
 else {
      return retry(locale,key);
    }
  }
 else {
    return retry(locale,key);
  }
}

public String handleGetMessage ( Locale locale , String key ) { if ( bundleName ( ) != null ) { ResourceBundle rb = ResourceBundle . getBundle ( bundleName ( ) , locale ) ; if ( rb . containsKey ( key ) ) { return rb . getString ( key ) ; } else { return retry ( locale , key ) ; } } else { return retry ( locale , key ) ; } }
this method handles the inheritance tree . at lower levels , it reflects upwards on failure . once it reaches this root class , it will throw a missingresourceexception in the key can ' t be found via the local definition of retry ( ) .
