-
public interface EDIOutputErrorReporterThis 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, EDIStreamWriter writer, Location location, CharSequence data, EDIReference typeReference)Report the desired message in an application specific format.
-
-
-
Method Detail
-
report
void report(EDIStreamValidationError errorType, EDIStreamWriter writer, Location location, CharSequence data, EDIReference typeReference)
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 asEDIStreamExceptions.- Parameters:
errorType- the type of error detectedwriter- the EDIStreamWriter that encountered the errorlocation- the location of the error, may be different than the location returned by the writer (e.g. for derived element positions)data- the invalid data, may be null (e.g. for missing required element errors)typeReference- the schema type reference for the invalid data, if available from the current schema used for validation
-
-