Class ErrorReport
- java.lang.Object
-
- fr.gouv.vitam.functional.administration.common.ErrorReport
-
public class ErrorReport extends java.lang.Objecterror report for generate error Report when some think is wrong in import referential This class contain code in vitam-error-messages.properties, the line of the error, Object in error to import (fileRulesModel) and some missingInformations for the import
-
-
Constructor Summary
Constructors Constructor Description ErrorReport()ErrorReport(FileRulesErrorCode code, int line, FileRulesCSV fileRulesCSV)ErrorReport(FileRulesErrorCode code, int line, java.lang.String missingInformations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileRulesErrorCodegetCode()FileRulesCSVgetFileRulesCSV()intgetLine()java.lang.StringgetMissingInformations()voidsetCode(FileRulesErrorCode code)voidsetFileRulesCSV(FileRulesCSV fileRulesCSV)voidsetLine(int line)voidsetMissingInformations(java.lang.String missingInformations)
-
-
-
Constructor Detail
-
ErrorReport
public ErrorReport()
-
ErrorReport
public ErrorReport(FileRulesErrorCode code, int line, FileRulesCSV fileRulesCSV)
-
ErrorReport
public ErrorReport(FileRulesErrorCode code, int line, java.lang.String missingInformations)
-
-
Method Detail
-
getMissingInformations
public java.lang.String getMissingInformations()
-
setMissingInformations
public void setMissingInformations(java.lang.String missingInformations)
-
getCode
public FileRulesErrorCode getCode()
-
setCode
public void setCode(FileRulesErrorCode code)
-
getLine
public int getLine()
-
setLine
public void setLine(int line)
-
getFileRulesCSV
public FileRulesCSV getFileRulesCSV()
-
setFileRulesCSV
public void setFileRulesCSV(FileRulesCSV fileRulesCSV)
-
-