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

[jira] [Created] (TINKERPOP3-619) select should not throw

Matt Frantz created TINKERPOP3-619:
--------------------------------------

             Summary: select should not throw
                 Key: TINKERPOP3-619
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-619
             Project: TinkerPop 3
          Issue Type: Improvement
            Reporter: Matt Frantz


Rather than raise {{IllegalArgumentException}}, if {{select}} cannot find the label, it should return {{null}}.  This is preferable because of the difficulty of dealing with exceptions during traversal.  It is not always indicative of a static flaw in the traversal, since conditional logic in the traversal may bypass certain {{as}} steps.



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