If you pull the latest master code, this method doesn't need to throw any exceptions except "IOException". Please merge with the latest master branch, and remove unnecessary exceptions.