org.springframework.boot.web.embedded.tomcat

Class ConnectorStartFailedException

  • All Implemented Interfaces:
    java.io.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
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ConnectorStartFailedException(int port)
      Creates a new ConnectorStartFailedException for a connector that's configured to listen on the given port.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getPort() 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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()