C# Class SimpleFramework.Xml.Core.PersistenceException

The PersistenceException is thrown when there is a persistance exception. This exception this will be thrown from the Persister should serialization or deserialization of an object fail. Error messages provided to this exception are formatted similar to the PrintStream.printf method.
Inheritance: System.Exception
显示文件 Open project: ngallagher/simplexml

Public Methods

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

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

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

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

Method Details

PersistenceException() public method

Constructor for the PersistenceException object. This constructor takes a format string an a variable number of object arguments, which can be inserted into the format string.
public PersistenceException ( 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

PersistenceException() public method

Constructor for the PersistenceException object. This constructor takes a format string an a variable number of object arguments, which can be inserted into the format string.
public PersistenceException ( 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