package es.tid.ps.kpicalculation.data;

import es.tid.ps.kpicalculation.data.KpiCalculationCounter;

/**
 * Extends RuntimeException and allows to notify mappers about errors in the
 * input data received.
 * 
 * @author javierb
 */
public class KpiCalculationDataException extends RuntimeException {

    private static final long serialVersionUID = 1L;
    
    public KpiCalculationDataException(String message, Throwable cause,
            KpiCalculationCounter lineFilteredExtension) {
        super(message, cause);
        counter = lineFilteredExtension;
    }

    private KpiCalculationCounter counter;

    public KpiCalculationDataException(String message,
            KpiCalculationCounter lineFilteredExtension) {
        super(message);
        counter = lineFilteredExtension;
    }

    public KpiCalculationCounter getCounter() {
        return counter;
    }

}
@@ -305,18 +305,16 @@
 tion %7B%0D%0A
-%0D%0A
     priv
@@ -358,17 +358,78 @@
 D = 
-1
+-8134324326773415950
 L;%0D%0A
+%0D%0A
     
+private KpiCalculationCounter counter;%0D%0A
 %0D%0A  
@@ -591,32 +591,37 @@
 ause);%0D%0A        
+this.
 counter = lineFi
@@ -651,54 +651,8 @@
 %0D%0A%0D%0A
-    private KpiCalculationCounter counter;%0D%0A%0D%0A
     
@@ -796,16 +796,21 @@
         
+this.
 counter 
@@ -908,16 +908,21 @@
  return 
+this.
 counter;
@@ -930,11 +930,9 @@
 %0A    %7D%0D%0A
-%0D%0A
 %7D

Add automatically generated UID in the KpiCalculationDataException class.