private static IOException badHostName(String hostname){
  return new IOException(String.format(BAD_HOST,hostname));
}

private static IOException badHostName ( String hostname ) { return new IOException ( String . format ( BAD_HOST , hostname ) ) ; }
ioexception if the host name is not comply with container . service
