C# Class Dibware.StoredProcedureFramework.Exceptions.SqlParameterOutOfRangeException

Inheritance: System.Exception
Datei anzeigen Open project: dibley1973/StoredProcedureFramework

Public Methods

Method Description
SqlParameterOutOfRangeException ( SqlParameter parameter, int actualPrecision, int actualScale ) : System

Initializes a new instance of the SqlParameterOutOfRangeException class.

SqlParameterOutOfRangeException ( string parameterName, int expectedSize, int actualSize ) : System

Initializes a new instance of the SqlParameterOutOfRangeException class.

Private Methods

Method Description
CreateMessage ( string parameterName, int expectedSize, int actualSize ) : string

Creates the message.

CreateMessage ( string parameterName, int expectedPrecision, int expectedScale, int actualPrecision, int actualScale ) : string

Creates the message containing name and expected and actual types.

SqlParameterOutOfRangeException ( string parameterName, int expectedPrecision, int expectedScale, int actualPrecision, int actualScale ) : System

Initializes a new instance of the SqlParameterOutOfRangeException class.

Method Details

SqlParameterOutOfRangeException() public method

Initializes a new instance of the SqlParameterOutOfRangeException class.
public SqlParameterOutOfRangeException ( SqlParameter parameter, int actualPrecision, int actualScale ) : System
parameter System.Data.SqlClient.SqlParameter The Sqlparemeter that was out of range.
actualPrecision int The actual precision.
actualScale int The actual scale.
return System

SqlParameterOutOfRangeException() public method

Initializes a new instance of the SqlParameterOutOfRangeException class.
public SqlParameterOutOfRangeException ( string parameterName, int expectedSize, int actualSize ) : System
parameterName string Name of the parameter.
expectedSize int The expected size.
actualSize int The actual size.
return System