类 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
- 所有已实现的接口:
Serializable
A
ConnectorStartFailedException is thrown when a Tomcat Connector fails
to start, for example due to a port clash or incorrect SSL configuration.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
- 另请参阅:
-
构造器概要
构造器构造器说明ConnectorStartFailedException(int port) Creates a newConnectorStartFailedExceptionfor a connector that's configured to listen on the givenport. -
方法概要
-
构造器详细资料
-
ConnectorStartFailedException
public ConnectorStartFailedException(int port) Creates a newConnectorStartFailedExceptionfor a connector that's configured to listen on the givenport.- 参数:
port- the port
-
-
方法详细资料
-
getPort
public int getPort()
-