C# Class YAMP.Exceptions.YAMPArgumentWrongTypeException

Class to use when an argument has the wrong-type and some other type was expected.
Inheritance: YAMPRuntimeException
Afficher le fichier Open project: FlorianRappl/YAMP

Méthodes publiques

Méthode Description
YAMPArgumentWrongTypeException ( String argumentType, String expectedType, String function ) : System

Creates a new instance of the argument wrong type exception.

YAMPArgumentWrongTypeException ( String argumentType, String expectedType, String function, String argumentName ) : System

Creates a new instance of the argument wrong type exception.

Method Details

YAMPArgumentWrongTypeException() public méthode

Creates a new instance of the argument wrong type exception.
public YAMPArgumentWrongTypeException ( String argumentType, String expectedType, String function ) : System
argumentType String The given argument type.
expectedType String The expected argument type.
function String The function where this happened.
Résultat System

YAMPArgumentWrongTypeException() public méthode

Creates a new instance of the argument wrong type exception.
public YAMPArgumentWrongTypeException ( String argumentType, String expectedType, String function, String argumentName ) : System
argumentType String The given argument type.
expectedType String The expected argument type.
function String The function where this happened.
argumentName String The name of the provided argument.
Résultat System