DataDirect XML Converters 5.0 Send comments on this topic.
Warning Method
See Also 
DDTek.XmlConverter Namespace > ConverterListener Interface : Warning Method




exception
The warning information encapsulated in a ConverterException. The actual class may be a subclass of ConverterException, such as EDIConverterException, and as such it may contain more specific information about the warning.
Receive notification of a warning.

Syntax

Visual Basic (Declaration) 
Sub Warning( _
   ByVal exception As ConverterException _
) 
Visual Basic (Usage)Copy Code
Dim instance As ConverterListener
Dim exception As ConverterException
 
instance.Warning(exception)
C# 
void Warning( 
   ConverterException exception
)
Managed Extensions for C++ 
void Warning( 
   ConverterException* exception
) 
C++/CLI 
void Warning( 
   ConverterException^ exception
) 

Parameters

exception
The warning information encapsulated in a ConverterException. The actual class may be a subclass of ConverterException, such as EDIConverterException, and as such it may contain more specific information about the warning.

Remarks

Warnings will never interrupt the processing of an EDI file. They are minor conditions that can be captured for validation purposes, such as when a certain unused element has an incorrect value and can automatically be corrected.

The EDI converter will continue normal parsing after this event is invoked unless the handler explicitly throws an exception.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.