I put the catch in to allow me to run locally in Tomcat for testing.