code: public void printErr(PrintStream ps,  String attErrJson) throws APIException {
  		StringBuilder sb = new StringBuilder();
  		Error err = errDF.newData().in(TYPE.JSON).load(attErrJson).asObject();
  		ps.println(toMsg(sb,err));
  	}
docs: AT&T Requires a specific Error Format for RESTful Services, which AAF complies with.
  
  This code will create a meaningful string from this format.
  
  @param ps
  @param df
  @param r
  @throws APIException