You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Matthias Broecheler (JIRA)" <ji...@apache.org> on 2015/05/19 20:37:00 UTC

[jira] [Created] (TINKERPOP3-691) TP3 is too prescriptive in exception

Matthias Broecheler created TINKERPOP3-691:
----------------------------------------------

             Summary: TP3 is too prescriptive in exception
                 Key: TINKERPOP3-691
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-691
             Project: TinkerPop 3
          Issue Type: Improvement
            Reporter: Matthias Broecheler
            Priority: Minor


In its current state, TP3 is extremely prescriptive about the exact type of exception that should be thrown in certain situations. Sometimes these exceptions are symptoms of the same behavior (i.e. accessing properties you shouldn't) but are different based on the access path (i.e. there are separate exceptions for MapReduce and VertexProgram when such access happens).
This makes it cumbersome for vendors to implement TP3 because you have to know in core datastructures where they are being used even though the datastructure can be reused between components.
An example of that is PreloadedVertex in Titan where we have to store in what context such a vertex is used.




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