Andy Seaborne created JENA-1073: ----------------------------------- Summary: Dataset.addNamedModel -- remove throws clause Key: JENA-1073 URL: https://issues.apache.org/jira/browse/JENA-1073 Project: Apache Jena Issue Type: Improvement Affects Versions: Jena 3.0.0 Reporter: Andy Seaborne Assignee: Andy Seaborne Priority: Minor Fix For: Jena 3.0.1
{{addNamedModel}} does not ever throw {{LabelExistsException}} in the majority of cases, including all implementations in the Jena distribution. Having it in the method signature is misleading. See [dev@ email|http://mail-archives.apache.org/mod_mbox/jena-dev/201511.mbox/%3CCAEyuBZvp4pbcdKzxnuJz08d%3DuEBrdKM8DAXDQEcnATCR7D7PEA%40mail.gmail.com%3E]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)