Seems this method will also throw `RuntimeException`, is it ok to declare only IOException is thrown in method signature?