| Author |
No constructor matching .....
|
Wayne Burr
Ranch Hand
Joined: Oct 15, 2002
Posts: 38
|
|
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
Joined: Oct 15, 2002
Posts: 38
|
|
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
Joined: Oct 15, 2002
Posts: 38
|
|
Problem turned out to be that the constructor was not Public. Problem solved! Thanks!
|
 |
 |
|
|
subject: No constructor matching .....
|
|
|