org.springframework.boot.web.embedded.tomcat

Class ConnectorStartFailedException

  • All Implemented Interfaces:
    Serializable


    public class ConnectorStartFailedException
    extends WebServerException
    A ConnectorStartFailedException is thrown when a Tomcat Connector fails to start, for example due to a port clash or incorrect SSL configuration.
    Since:
    2.0.0
    Author:
    Andy Wilkinson
    See Also:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • getPort

        public int getPort()