C# Class Terrarium.Game.OrganismAssemblyFailedValidationException

Inheritance: OrganismBase.GameEngineException
Datei anzeigen Open project: eugeniomiro/Terrarium Class Usage Examples

Public Methods

Method Description
GenerateExceptionFromXml ( string xmlFile ) : OrganismAssemblyFailedValidationException

Creates an assembly validation failure object from an XML file generated by the AsmCheck API that can be used to notify the user of multiple validation failures.

OrganismAssemblyFailedValidationException ( ) : System

Creates a default assembly validation failure. No special failure information is supplied.

OrganismAssemblyFailedValidationException ( string message ) : System

Creates an assembly validation failure given a special message to supply to the user.

Method Details

GenerateExceptionFromXml() public static method

Creates an assembly validation failure object from an XML file generated by the AsmCheck API that can be used to notify the user of multiple validation failures.
public static GenerateExceptionFromXml ( string xmlFile ) : OrganismAssemblyFailedValidationException
xmlFile string An XML file containing failures.
return OrganismAssemblyFailedValidationException

OrganismAssemblyFailedValidationException() public method

Creates a default assembly validation failure. No special failure information is supplied.
public OrganismAssemblyFailedValidationException ( ) : System
return System

OrganismAssemblyFailedValidationException() public method

Creates an assembly validation failure given a special message to supply to the user.
public OrganismAssemblyFailedValidationException ( string message ) : System
message string The message to supply to the user.
return System