C# Class YAMP.Exceptions.YAMPArgumentRangeException

This class should be used if an argument is out of range.
Inheritance: YAMPRuntimeException
Datei anzeigen Open project: FlorianRappl/YAMP

Public Methods

Method Description
YAMPArgumentRangeException ( String parameterName ) : System

Creates a new instance of the range exception.

YAMPArgumentRangeException ( String parameterName, Double lowerBound ) : System

Creates a new instance of the range exception.

YAMPArgumentRangeException ( String parameterName, Double lowerBound, Double upperBound ) : System

Creates a new instance of the range exception.

YAMPArgumentRangeException ( String parameterName, String boundaries ) : System

Creates a new instance of the range exception.

Method Details

YAMPArgumentRangeException() public method

Creates a new instance of the range exception.
public YAMPArgumentRangeException ( String parameterName ) : System
parameterName String The parameter where this happened.
return System

YAMPArgumentRangeException() public method

Creates a new instance of the range exception.
public YAMPArgumentRangeException ( String parameterName, Double lowerBound ) : System
parameterName String The parameter where this happened.
lowerBound Double The lower bound.
return System

YAMPArgumentRangeException() public method

Creates a new instance of the range exception.
public YAMPArgumentRangeException ( String parameterName, Double lowerBound, Double upperBound ) : System
parameterName String The parameter where this happened.
lowerBound Double The lower bound.
upperBound Double The upper bound.
return System

YAMPArgumentRangeException() public method

Creates a new instance of the range exception.
public YAMPArgumentRangeException ( String parameterName, String boundaries ) : System
parameterName String The parameter where this happened.
boundaries String A string expressing the boundaries.
return System