Warning Event
Fires whenever a validation warning is encountered.
Syntax
public void fireWarning(IdocwriterWarningEvent event); public class IdocwriterWarningEvent { public int warnCode; public String message; public int segmentNumber; }
Remarks
The Warning event will fire if a validation error is encountered when writing a new segment to the output document. The WarnCode parameter contains the type of warning encountered. Message is a textual description of the problem. SegmentNumber is the index of the segment where the problem was found.