public class PortInUseException extends EmbeddedServletContainerException
PortInUseException
is thrown when an embedded servlet container fails to
start due to a port already being in use.Constructor and Description |
---|
PortInUseException(int port)
Creates a new port in use exception for the given
port . |
Modifier and Type | Method and Description |
---|---|
int |
getPort()
Returns the port that was in use.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.