C# Class YAMP.Exceptions.YAMPArgumentInvalidException

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

Public Methods

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

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

YAMPArgumentInvalidException() public method

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

YAMPArgumentInvalidException() public method

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

YAMPArgumentInvalidException() public method

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