C# Class Core.Framework.MEF.Throw.Throw

Afficher le fichier Open project: coreframework/Core-Framework

Méthodes publiques

Méthode Description
ConfigurationErrors ( String message, Exception>.Func modifier = null ) : void

Throws a ConfigurationErrorsException with the specified message.

InvalidOperation ( String message, Exception>.Func modifier = null ) : void

Throws a InvalidOperationException with the specified message.

NotSupported ( String message, Exception>.Func modifier = null ) : void

Throws a NotSupportedException with the specified message.

Private Methods

Méthode Description
IfArgumentNull ( object argument, String argumentName, Exception>.Func modifier = null ) : void
IfArgumentNullOrEmpty ( String argument, String argumentName, Exception>.Func modifier = null ) : void
ThrowInternal ( Exception exception, Exception>.Func modifier = null ) : void

Method Details

ConfigurationErrors() public static méthode

Throws a ConfigurationErrorsException with the specified message.
public static ConfigurationErrors ( String message, Exception>.Func modifier = null ) : void
message String The message to throw.
modifier Exception>.Func A modifier delegate used to modify the exception before being thrown.
Résultat void

InvalidOperation() public static méthode

Throws a InvalidOperationException with the specified message.
public static InvalidOperation ( String message, Exception>.Func modifier = null ) : void
message String The message to throw.
modifier Exception>.Func A modifier delegate used to modify the exception before being thrown.
Résultat void

NotSupported() public static méthode

Throws a NotSupportedException with the specified message.
public static NotSupported ( String message, Exception>.Func modifier = null ) : void
message String The message to throw.
modifier Exception>.Func A modifier delegate used to modify the exception before being thrown.
Résultat void