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

This is a specialized subtype of the coerce exception, thrown when you attempt to convert a value to an unsupported type.
Inheritance: DaoTypeCoercionException
显示文件 Open project: azavea/net-dao

Public Methods

Method Description
DaoUnsupportedTypeCoercionException ( Type desiredType, object value ) : System

Creates a coercion exception for when the type being coerced to is not supported.

Method Details

DaoUnsupportedTypeCoercionException() public method

Creates a coercion exception for when the type being coerced to is not supported.
public DaoUnsupportedTypeCoercionException ( Type desiredType, object value ) : System
desiredType System.Type Type we were trying to coerce the value to.
value object The value that was trying to be coerced.
return System