List of usage examples for org.springframework.boot.web.embedded.tomcat ConnectorStartFailedException ConnectorStartFailedException
public ConnectorStartFailedException(int port)
From source file:org.springframework.boot.web.embedded.tomcat.TomcatWebServer.java
private void checkThatConnectorsHaveStarted() { for (Connector connector : this.tomcat.getService().findConnectors()) { if (LifecycleState.FAILED.equals(connector.getState())) { throw new ConnectorStartFailedException(connector.getPort()); }/* w w w .j a va2 s . c o m*/ } }