• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting NoSuchMethodError while initialzing the class  RSS feed

 
vamshidhar nimbagiri
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this is the method :

IndPrefRateData[] indPrefRateData = new IndPrefRateData[entireList.size()];


for(int i=0; i< indPrefRateData.length;i++)
{
indPrefRateData[i] = new IndPrefRateData();
// gettting NoSuchMethodError here

indPrefRateData[i].setPolicyCd("");
indPrefRateData[i].setDeductibleCd("");
}



The class IndPrefRateData is


public class IndPrefRateData implements java.io.Serializable {

public IndPrefRateData() {
}

public IndPrefRateData(
double ARate,
double BRate)

}
 
Jean-Francois Briere
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In IndPrefRateData class, where are the methods setPolicyCd() and setDeductibleCd() ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!