TomcatEmbeddedServletContainer now fails fast, if there are exceptions during protocol handler startup (re-throw exception)

This commit is contained in:
nitram509
2013-11-19 13:35:06 +00:00
committed by Dave Syer
parent 371fa489ee
commit c50fe0733b
@@ -107,6 +107,8 @@ public class TomcatEmbeddedServletContainer implements EmbeddedServletContainer
}
catch (Exception ex) {
this.logger.error("Cannot start connector: ", ex);
throw new EmbeddedServletContainerException(
"Unable to start embdedded Tomcat connectors", ex);
}
}
}