Generic exception raised by CastParams when a parameter cannot be cast to its declared type.
CastParams