#478 Informative message when no matching constructor is found

Needs_Review
closed
nobody
cdk-1.4.x (181)
5
2012-10-28
2012-01-30
No
Patch to report candidate constructors when failing to instantiate a class
because of an incorrect number of passed parameters. (fixes #2987186)

Example output:

No constructor found for NNAtom with the given number of parameters.
Candidates are: NNAtom(), NNAtom(String), NNAtom(IElement),
NNAtom(String, Point3d), NNAtom(String, Point2d)

Discussion

  • Rajarshi Guha

    Rajarshi Guha - 2012-04-18

    Applied and pushed

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks