title: Jetty: Detect if Webapp failed to start
body: <p>I am launching an embedded Jetty instance containing a single webapp. The webapp launches on start-up. <strong>I'd like to know how to detect if the Webapp's contextInitialized throws an exception.</strong></p>
  
  <p>When the webapp throws an exception, <a href="http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/server/Server.html" rel="noreferrer">Server.start()</a> doesn't and server.isRunning() returns true. Is there a way for me to listen for webapp exceptions from outside the container?</p>