![JAR search and dependency download from the Maven repository](/logo.png)
io.xlate.edi.stream.EDIInputErrorReporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of staedi Show documentation
Show all versions of staedi Show documentation
Streaming API for EDI for Java
package io.xlate.edi.stream;
/**
* This interface is used to report non-fatal errors detected in an EDI input.
*
* @since 1.9
*/
public interface EDIInputErrorReporter {
/**
* 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.
*
* @param errorType
* the type of error detected
* @param reader
* the EDIStreamReader that encountered the error
* @throws EDIStreamException
* when errors occur calling the reader
*/
void report(EDIStreamValidationError errorType, EDIStreamReader reader) throws EDIStreamException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy