Ease of use Issues item #767295, was opened at 2003-07-07 14:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=460211&aid=767295&group_id=44253
Category: Platform Independent
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Centgraf (centgraf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interactions "No Method" Error Message
Initial Comment:
When the current interactions pre-processor (as of
beta-20030701) cannot find a method Y in class X, it
prints this message:
Error: No 'Y' method in 'X'
However, this message can be misleading if the reason
the pre-processor cannot find the method is because of
the type of its arguments. Take this simple
interaction, for example:
> System.exit();
Error: No 'exit' method in 'java.lang.System'
The pre-processor should check whether a method exists
with different arguments than given before printing
this message. If a method or methods with this name is
found, a different error message should be produced,
highlighting the argument mismatch. Perhaps the error
message could print the signatures of potentially
matching methods with the given name, up to a limit of
a few lines of output.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=460211&aid=767295&group_id=44253
|