Add more specific exception handling and update readme.