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
Afficher le fichier Open project: ngallagher/simplexml

Méthodes publiques

Méthode 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 méthode

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 ///
Résultat System

PersistenceException() public méthode

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 ///
Résultat System