anchor.diff:  catch (RDFHandlerException e) {
     // handle a problem encountered by the RDFHandler
   }
  +finally {
  +  inputStream.close();
  +}
   ----
   
   After the `parse()` method has executed (and provided no exception has occurred), the collection model will be filled by the StatementCollector. As an aside: you do not have to provide the StatementCollector with a list in advance, you can also use an empty constructor and then just get the collection, using `StatementCollector.getStatements()`.
  
positive.code: catch (Exception e) {
    // oh no!
  }
  int numberOfStatements = myCounter.getCountedStatements();
  ----
  
  
negative.code: 
  [source,java,linenum]
  ----
  java.net.URL documentUrl = new URL("http://example.org/example.ttl");
  InputStream inputStream = documentUrl.openStream();
  ----
  
  