[
https://issues.apache.org/jira/browse/TINKERPOP3-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15022567#comment-15022567
]
Marko A. Rodriguez commented on TINKERPOP3-691:
-----------------------------------------------
I will review this for 3.2.0.
> TP3 is too prescriptive in exception
> ------------------------------------
>
> Key: TINKERPOP3-691
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-691
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: test-suite
> Affects Versions: 3.0.2-incubating
> Reporter: Matthias Broecheler
> Priority: Minor
> Fix For: 3.2.0-incubating
>
>
> 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)