C# Class SimpleFramework.Xml.Core.AttributeException

The AttributeException is used to represent conditions when an XML attribute is in an invalid state. Typically this is used when and attribute cannot be serialized or deserialized. Such a condition can arise when an attribute exists within the source XML that does not match the schema class. For serialization this exception is thrown if a required field is null.
Inheritance: PersistenceException
Show file Open project: ngallagher/simplexml

Public Methods

Method Description
AttributeException ( String text, Object list ) : System

Constructor for the AttributeException object. This constructor takes a format string an a variable number of object arguments, which can be inserted into the format string.

AttributeException ( Throwable cause, String text, Object list ) : System

Constructor for the AttributeException object. This constructor takes a format string an a variable number of object arguments, which can be inserted into the format string.

Method Details

AttributeException() public method

Constructor for the AttributeException object. This constructor takes a format string an a variable number of object arguments, which can be inserted into the format string.
public AttributeException ( String text, Object list ) : System
text String /// a format string used to present the error message ///
list Object /// a list of arguments to insert into the string ///
return System

AttributeException() public method

Constructor for the AttributeException object. This constructor takes a format string an a variable number of object arguments, which can be inserted into the format string.
public AttributeException ( Throwable cause, String text, Object list ) : System
cause Throwable /// the source exception this is used to represent ///
text String /// a format string used to present the error message ///
list Object /// a list of arguments to insert into the string ///
return System