Package io.xlate.edi.stream
Interface EDIInputErrorReporter
-
- All Known Subinterfaces:
EDIReporter
public interface EDIInputErrorReporterThis interface is used to report non-fatal errors detected in an EDI input.- Since:
- 1.9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreport(EDIStreamValidationError errorType, EDIStreamReader reader)Report the desired message in an application specific format.
-
-
-
Method Detail
-
report
void report(EDIStreamValidationError errorType, EDIStreamReader reader) throws EDIStreamException
Report the desired message in an application specific format. Only warnings and non-fatal errors should be reported through this interface. Fatal errors will be thrown as EDIStreamException.- Parameters:
errorType- the type of error detectedreader- the EDIStreamReader that encountered the error- Throws:
EDIStreamException- when errors occur calling the reader
-
-