Class ConnectorStartFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.web.server.WebServerException
org.springframework.boot.tomcat.ConnectorStartFailedException
All Implemented Interfaces:
Serializable

public class ConnectorStartFailedException extends org.springframework.boot.web.server.WebServerException
A ConnectorStartFailedException is thrown when a Tomcat Connector fails to start, for example due to a port clash or incorrect SSL configuration.
Since:
4.0.0
See Also:
  • Constructor Details

    • ConnectorStartFailedException

      public ConnectorStartFailedException(int port)
      Creates a new ConnectorStartFailedException for a connector that's configured to listen on the given port.
      Parameters:
      port - the port
  • Method Details

    • getPort

      public int getPort()