Skip to content

Commit

Permalink
Legger på informasjon om periode i feilmelding ifht tilkommet inntekt…
Browse files Browse the repository at this point in the history
… i periode med gamle regler for uttak på PSB
  • Loading branch information
tendestad committed Feb 17, 2025
1 parent 24b43a0 commit c8b24f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Evaluation evaluate(BeregningsgrunnlagPeriode grunnlag) {
resultat.setEvaluationProperty("periodeFom", grunnlag.getPeriodeFom());

if (skalKjøreMedFordeling && grunnlag.getTilkommetInntektsforholdListe() != null && !grunnlag.getTilkommetInntektsforholdListe().isEmpty()) {
throw new IllegalStateException("Hadde tilkommet inntekt satt i periode for gamle regler");
throw new IllegalStateException("Hadde tilkommet inntekt satt i periode for gamle regler. Gjelder periode " + grunnlag.getPeriodeFom() + " tom " + grunnlag.getPeriodeTom());
}

return resultat;
Expand Down

0 comments on commit c8b24f4

Please sign in to comment.