You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "pieter martin (JIRA)" <ji...@apache.org> on 2015/04/14 20:42:12 UTC

[jira] [Created] (TINKERPOP3-633) exception on bad id

pieter martin created TINKERPOP3-633:
----------------------------------------

             Summary: exception on bad id
                 Key: TINKERPOP3-633
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-633
             Project: TinkerPop 3
          Issue Type: Improvement
          Components: structure
    Affects Versions: 3.0.0.GA
            Reporter: pieter martin
            Priority: Minor


I am getting Sqlg up to date with the latest master branch.

For {{EdgeTest.shouldThrowNoSuchElementExceptionIfEdgeWithIdNotPresent}} the test expects a {{NoSuchElementException}}

Currently the test fails as I am throwing a custom InvalidId exception.

When the graph has custom ids I reckon its better to tell the user that the id is altogether of the wrong format rather than just {{NoSuchElementException}}

This is if the id is in fact not a valid id.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)