DataDirect XML Converters 5.0 Send comments on this topic.
ConverterArgumentException Class
See Also  Members  
DDTek.XmlConverter Namespace : ConverterArgumentException Class




This exception is thrown if Convert is called with an incorrect Source or Result argument.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class ConverterArgumentException 
   Inherits ConverterException
Visual Basic (Usage)Copy Code
Dim instance As ConverterArgumentException
C# 
[SerializableAttribute()]
public class ConverterArgumentException : ConverterException 
Managed Extensions for C++ 
[SerializableAttribute()]
public __gc class ConverterArgumentException : public ConverterException 
C++/CLI 
[SerializableAttribute()]
public ref class ConverterArgumentException : public ConverterException 

Remarks

When converting non XML data to XML, most converters will accept input from a:

Some converters (eg EDI or Binary) cannot accept a character stream source. If either of the two character stream sources is passed to one of these converters as the Source then the converter will throw a ConverterArgumentException.

When converting XML data to non XML, most converters will send output to:

Some converters (eg EDI or Binary) cannot generate character stream output. If either of the two character stream results is passed to one of these converters as the Result then the converter will throw a ConverterArgumentException.

If a toXml converter is called with an XML source ( (XmlReaderSource, XmlWriterSource, or DocumentSource) it will throw a ConverterArgumentException.

If a fromXml converter is called with an XML result ( (XmlReaderResult, XmlWriterResult, or DocumentResult) it will throw a ConverterArgumentException.

Inheritance Hierarchy

System.Object
   System.Exception
      DDTek.XmlConverter.ConverterException
         DDTek.XmlConverter.ConverterArgumentException

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.