Ejemplo n.º 1
0
  // call with the reader lock held, or from the constructor
  private void checkError() throws IOException {
    String msg = OpenSlideJNI.openslide_get_error(osr);

    if (msg != null) {
      throw new IOException(msg);
    }
  }