chapter 4: Expecting the Unexpected Raising exceptions 506 Case study 522 Exercises 531 Summary 4.1 Raising exceptions 4.1.1 Linux Automatic Install Script $ sudo wget -qO- https://get.docker.com/ | sh remove hell-world $ sudo docker rm `sudo docker ps -aq` $ sudo docker rmi hello-world . 4.2 Case study 4.3 Exercises 4.4 Summary