Error: An external class following 'a/an' must have an accessible default constructor.

Discussion created by Guest on Mar 13, 2012
Latest reply on Mar 22, 2012 by Jostein Ulseth

I am using Blaze Advisor 7.0. I am trying to create an object and declare values in it so that I can test my rules. This is the code that I have:

 


recAccountData = a RecAccountData initially { accountData = a AccountData initially {
  creditScore = 100.
  originalTransactionAmount =100 as a BigDecimal.
  }}

 

 

The AccountData class above is declared as an abstract class in the Object model. I am getting the following error when I compile.

 

Error: An external class following 'a/an' must have an accessible default constructor.

 

 

 

 

 

 

Kindly advise.

 

Thanks,

Shubham 

Outcomes