public class PortAlreadyBoundException extends PortNotFoundException implements PortAccessor
getPort()
is already in use.PortAccessor.PortBuilder<B extends PortAccessor.PortBuilder<B>>, PortAccessor.PortMutator, PortAccessor.PortProperty
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Constructor and Description |
---|
PortAlreadyBoundException(int aPort,
String message) |
PortAlreadyBoundException(int aPort,
String aMessage,
String aErrorCode) |
PortAlreadyBoundException(int aPort,
String message,
Throwable cause) |
PortAlreadyBoundException(int aPort,
String aMessage,
Throwable aCause,
String aErrorCode) |
PortAlreadyBoundException(int aPort,
Throwable cause) |
PortAlreadyBoundException(int aPort,
Throwable aCause,
String aErrorCode) |
Modifier and Type | Method and Description |
---|---|
int |
getPort()
Retrieves the port from the port property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PortAlreadyBoundException(int aPort, String aMessage, String aErrorCode)
public PortAlreadyBoundException(int aPort, String aMessage, Throwable aCause, String aErrorCode)
public PortAlreadyBoundException(int aPort, String message, Throwable cause)
public PortAlreadyBoundException(int aPort, String message)
public PortAlreadyBoundException(int aPort, Throwable aCause, String aErrorCode)
public PortAlreadyBoundException(int aPort, Throwable cause)
public int getPort()
PortAccessor
getPort
in interface PortAccessor
Copyright © 2017. All rights reserved.