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 2022/09/23 21:25:00 UTC

[jira] [Closed] (TINKERPOP-2792) Better exception when JavaTranslator finds a method but not the overload

     [ https://issues.apache.org/jira/browse/TINKERPOP-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Mallette closed TINKERPOP-2792.
---------------------------------------
    Fix Version/s: 3.7.0
                   3.6.2
                   3.5.5
         Assignee: Stephen Mallette
       Resolution: Done

implemented on https://github.com/apache/tinkerpop/commit/de40239e0c15229f64690fb47520b8e0d371860f

very narrow situation for a break.

> Better exception when JavaTranslator finds a method but not the overload
> ------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2792
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2792
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.5.4
>            Reporter: Stephen Mallette
>            Assignee: Stephen Mallette
>            Priority: Major
>             Fix For: 3.7.0, 3.6.2, 3.5.5
>
>
> In {{JavaTranslator}} throw {{IllegalArgumentException}} in situations where the method name is present but the exact signature can't be found given the arguments. We would retain {{IllegalStateException}} for cases where the method name itself could not be found.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)