why not pass in the Charset so that the exception doesn't have to be caught?