octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53523] In javaMethod, include signature when


From: Adrian
Subject: [Octave-bug-tracker] [bug #53523] In javaMethod, include signature when method not found
Date: Fri, 30 Mar 2018 07:01:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?53523>

                 Summary: In javaMethod, include signature when method not
found
                 Project: GNU Octave
            Submitted by: adaerr
            Submitted on: Fri 30 Mar 2018 11:01:29 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When javaMethod() cannot find a method that can be matched to the parameters,
it prints the message:

error: [java] java.lang.NoSuchMethodException: someMethod

This is slightly inaccurate in that it is incomplete: someMethod may well
exist, but it may simply be impossible to find a signature that can be matched
(via potential octave->java conversions) to the parameters of the call. 

It would be less perturbing if either the error message were more explicit, or
the documentation mentioned something along the lines of "A
java.lang.NoSuchMethodException is thrown if either the METHODNAME is not
found, or the ARGs cannot be matched to the method signature(s)".





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53523>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]