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

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

Public Properties

Property Type Description
DesiredType System.Type
Value object

Public Methods

Method 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 method

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).
return System

DaoTypeCoercionException() public method

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).
return System

Property Details

DesiredType public_oe property

Type we were trying to coerce the value to.
public Type,System DesiredType
return System.Type

Value public_oe property

The value that was trying to be coerced.
public object Value
return object