Tries to convert the value to the specified type, returning
null if not possible to convert.
This method will
not throw an exception if an exception occurred during conversion.
@param type the requested type
@param value the value to be converted
@return the converted value, or
null if not possible to convert