C# Class Goedel.Throw

Placeholder exception class.
Inheritance: System.Exception
Afficher le fichier Open project: hallambaker/Mathematical-Mesh

Protected Properties

Свойство Type Description
_Message string

Méthodes publiques

Méthode Description
Always ( string Report ) : void

Throw an exception.

If ( bool Test, string Report ) : void

Throw an exception if the specified test is not met.

IfNot ( bool Test, string Report ) : void

Throw an exception if the specified test is met.

Throw ( string Message ) : System

Create an exception with the specified message.

Method Details

Always() public static méthode

Throw an exception.
public static Always ( string Report ) : void
Report string Message to report.
Résultat void

If() public static méthode

Throw an exception if the specified test is not met.
public static If ( bool Test, string Report ) : void
Test bool Must be true or exception is thrown.
Report string Message to report.
Résultat void

IfNot() public static méthode

Throw an exception if the specified test is met.
public static IfNot ( bool Test, string Report ) : void
Test bool Must be false or exception is thrown.
Report string Message to report.
Résultat void

Throw() public méthode

Create an exception with the specified message.
public Throw ( string Message ) : System
Message string
Résultat System

Property Details

_Message protected_oe property

The private message data.
protected string _Message
Résultat string