Interface EDIInputErrorReporter

All Known Subinterfaces:
EDIReporter

public interface EDIInputErrorReporter
This interface is used to report non-fatal errors detected in an EDI input.
Since:
1.9
  • Method Summary

    Modifier and Type Method Description
    void report​(EDIStreamValidationError errorType, EDIStreamReader reader)
    Report the desired message in an application specific format.
  • Method Details

    • 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 detected
      reader - the EDIStreamReader that encountered the error
      Throws:
      EDIStreamException - when errors occur calling the reader