类 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
public class ConnectorStartFailedException extends WebServerException
AConnectorStartFailedException
is thrown when a TomcatConnector
fails to start, for example due to a port clash or incorrect SSL configuration.- 从以下版本开始:
- 2.0.0
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 ConnectorStartFailedException(int port)
Creates a newConnectorStartFailedException
for a connector that's configured to listen on the givenport
.
方法概要
构造器详细资料
ConnectorStartFailedException
public ConnectorStartFailedException(int port)
Creates a newConnectorStartFailedException
for a connector that's configured to listen on the givenport
.- 参数:
port
- the port
方法详细资料
getPort
public int getPort()