C# Class YAMP.Exceptions.YAMPArgumentInvalidException

Class to use for invalid arguments (type-wise or value-wise).
Inheritance: YAMPRuntimeException
Afficher le fichier Open project: FlorianRappl/YAMP

Méthodes publiques

Méthode Description
YAMPArgumentInvalidException ( String function, Int32 argumentNumber ) : System

Creates a new argument invalid exception.

YAMPArgumentInvalidException ( String function, String argument ) : System

Creates a new argument invalid exception.

YAMPArgumentInvalidException ( String function, String argumentType, Int32 argumentNumber ) : System

Creates a new argument invalid exception.

YAMPArgumentInvalidException ( String function, String argumentType, String expectedType, Int32 argumentNumber ) : System

Creates a new argument invalid exception.

Method Details

YAMPArgumentInvalidException() public méthode

Creates a new argument invalid exception.
public YAMPArgumentInvalidException ( String function, Int32 argumentNumber ) : System
function String The function where this happened.
argumentNumber System.Int32 The number of the argument.
Résultat System

YAMPArgumentInvalidException() public méthode

Creates a new argument invalid exception.
public YAMPArgumentInvalidException ( String function, String argument ) : System
function String The function where this happened.
argument String The given argument.
Résultat System

YAMPArgumentInvalidException() public méthode

Creates a new argument invalid exception.
public YAMPArgumentInvalidException ( String function, String argumentType, Int32 argumentNumber ) : System
function String The function where this happened.
argumentType String The type of argument.
argumentNumber System.Int32 The number of the argument.
Résultat System

YAMPArgumentInvalidException() public méthode

Creates a new argument invalid exception.
public YAMPArgumentInvalidException ( String function, String argumentType, String expectedType, Int32 argumentNumber ) : System
function String The function where this happened.
argumentType String The actual type of argument.
expectedType String The expected type of argument.
argumentNumber System.Int32 The number of the argument.
Résultat System