C# Class Goedel.Throw

Placeholder exception class.
Inheritance: System.Exception
Exibir arquivo Open project: hallambaker/Mathematical-Mesh

Protected Properties

Property Type Description
_Message string

Public Methods

Method 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 method

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

If() public static method

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.
return void

IfNot() public static method

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.
return void

Throw() public method

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

Property Details

_Message protected_oe property

The private message data.
protected string _Message
return string