public Warning create(int limit,String message,boolean logAll){
  final Warning warning=new Warning(limit,message,logAll);
  mWarnings.add(warning);
  return warning;
}

public Warning create ( int limit , String message , boolean logAll ) { final Warning warning = new Warning ( limit , message , logAll ) ; mWarnings . add ( warning ) ; return warning ; }
create a new warning registered with this warning set .
