bugGNU Octave - Bugs: bug #53523, In javaMethod, include signature...

 
 

bug #53523: In javaMethod, include signature when method not found

Submitter:  Adrian <adaerr>
Submitted:  Fri 30 Mar 2018 11:01:29 AM UTC
   
 
Category:  Octave Function Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Documentation
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 4.2.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 30 Mar 2018 11:01:29 AM UTC, original submission:  

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)".

Adrian <adaerr>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by adaerr (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-30 mtmiller Severity3 - Normal 2 - Minor
        Item GroupFeature Request Documentation

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code