C# Class Dibware.StoredProcedureFramework.Exceptions.NullableFieldTypeException

The exception thrown when a nullable type was unexpectedly encounterd
Inheritance: System.Exception
Datei anzeigen Open project: dibley1973/StoredProcedureFramework

Public Methods

Method Description
NullableFieldTypeException ( string message, Exception innerException ) : System

Initializes a new instance of the NullableFieldTypeException class.

NullableFieldTypeException ( string fieldName, Type expectedType, Type actualType ) : System

Initializes a new instance of the NullableFieldTypeException class.

Private Methods

Method Description
CreateMessage ( string fieldName, Type expectedType, Type actualType ) : string

Creates the message.

Method Details

NullableFieldTypeException() public method

Initializes a new instance of the NullableFieldTypeException class.
public NullableFieldTypeException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException System.Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
return System

NullableFieldTypeException() public method

Initializes a new instance of the NullableFieldTypeException class.
public NullableFieldTypeException ( string fieldName, Type expectedType, Type actualType ) : System
fieldName string Name of the field.
expectedType System.Type The expected type.
actualType System.Type The actual type.
return System