• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

No constructor matching .....

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting this error and after reseaching what it means still does not fix my problem. I have spend alot of time on it and really can't see where the error is possible. Please have a look and let me know if you can see the problem.
No constructor matching ParamPYUnderwriterExpense(java.lang.String, java.lang.String, int, int, int, int, int, int, int) found in class com.ca.ka.ParamPYUnderwriterExpense.
ParamPYUnderwriterExpense savfactor = new ParamPYUnderwriterExpense(savefactorId, policyyearPPUE, t1overheadPPUE, t2overheadPPUE, t3overheadPPUE, t4overheadPPUE, t5overheadPPUE, t6overheadPPUE, corpoverheadPPUE);
Here is some of the code that it is getting called from:

This part of the JAVA code:

Any help will be great if anybody can spot why I'm getting the error.
Thanks in advance!
 
Wayne Burr
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is the call in the first set of Code from above:
ParamPYUnderwriterExpense savfactor = new ParamPYUnderwriterExpense(savefactorId, policyyearPPUE, t1overheadPPUE, t2overheadPPUE, t3overheadPPUE, t4overheadPPUE, t5overheadPPUE, t6overheadPPUE, corpoverheadPPUE);
 
Wayne Burr
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Problem turned out to be that the constructor was not Public.
Problem solved!
Thanks!
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic