Class ConnectorStartFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.web.server.WebServerException
org.springframework.boot.web.embedded.tomcat.ConnectorStartFailedException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConnectorStartFailedException
(int port) Creates a newConnectorStartFailedException
for a connector that's configured to listen on the givenport
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectorStartFailedException
public ConnectorStartFailedException(int port) Creates a newConnectorStartFailedException
for a connector that's configured to listen on the givenport
.- Parameters:
port
- the port
-
-
Method Details
-
getPort
public int getPort()
-