C# Class Azavea.Open.DAO.Exceptions.DaoTypeCoercionException

This is the type of exception thrown by CoerceType.
Inheritance: Azavea.Open.Common.LoggingException
Afficher le fichier Open project: azavea/net-dao

Méthodes publiques

Свойство Type Description
DesiredType System.Type
Value object

Méthodes publiques

Méthode Description
DaoTypeCoercionException ( Type desiredType, object value, Exception innerException ) : System

Creates a coercion exception.

DaoTypeCoercionException ( Type desiredType, object value, string reason, Exception innerException ) : System

Creates a coercion exception.

Method Details

DaoTypeCoercionException() public méthode

Creates a coercion exception.
public DaoTypeCoercionException ( Type desiredType, object value, Exception innerException ) : System
desiredType System.Type Type we were trying to coerce the value to.
value object The value that was trying to be coerced.
innerException System.Exception Exception that was thrown (if any, may be null).
Résultat System

DaoTypeCoercionException() public méthode

Creates a coercion exception.
public DaoTypeCoercionException ( Type desiredType, object value, string reason, Exception innerException ) : System
desiredType System.Type Type we were trying to coerce the value to.
value object The value that was trying to be coerced.
reason string Why it did not work.
innerException System.Exception Exception that was thrown (if any, may be null).
Résultat System

Property Details

DesiredType public_oe property

Type we were trying to coerce the value to.
public Type,System DesiredType
Résultat System.Type

Value public_oe property

The value that was trying to be coerced.
public object Value
Résultat object