C# Class Dibware.StoredProcedureFramework.Exceptions.NullableFieldTypeException

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

Méthodes publiques

Méthode 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

Méthode Description
CreateMessage ( string fieldName, Type expectedType, Type actualType ) : string

Creates the message.

Method Details

NullableFieldTypeException() public méthode

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.
Résultat System

NullableFieldTypeException() public méthode

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.
Résultat System