You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/04/09 13:56:14 UTC
[jira] [Updated] (TINKERPOP3-619) select should not throw
[ https://issues.apache.org/jira/browse/TINKERPOP3-619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette updated TINKERPOP3-619:
----------------------------------------
Component/s: process
> select should not throw
> -----------------------
>
> Key: TINKERPOP3-619
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-619
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: process
> 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)