private void reportError(String context,String fmt,Object... args){
  String message=String.format(fmt,args);
  reasons.add(context + ": " + message);
}

private void reportError ( String context , String fmt , Object ... args ) { String message = String . format ( fmt , args ) ; reasons . add ( context + ": " + message ) ; }
report an error in the current context .
