Recoverable syntax exceptions
Wednesday, 25 June 2008

A new feature in the commercial version of EDIReader allows the user to provide a Java callback method for certain EDI errors from which EDIReader is able to recover. For example, EDIReader detects that the control number appearing in the segment marking the end of an interchange matches the control number that appears at the beginning of the interchange. By default, EDIReader throws an EDISyntaxException for such invalid EDI constructs, but a user-provided callback may now handle this and other recoverable exceptions and allow parsing to continue.

Last Updated ( Monday, 18 August 2008 )