added toString function

as this function will not be exposed, remove the function name from the message. just use something like: "datatype %s not support for string conversion"