if (front ==  null || back == null) throw new IllegalArgumentException();
  public BufferCapabilities(ImageCapabilities front, ImageCapabilities back,                            FlipContents flip)  {    this.front = front;    this.back = back;    this.flip = flip;    if (front ==  null || back == null)      throw new IllegalArgumentException();  }