Package org.refcodes.net
Class PortAlreadyBoundRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.net.NetRuntimeException
-
- org.refcodes.net.PortNotFoundRuntimeException
-
- org.refcodes.net.PortAlreadyBoundRuntimeException
-
- All Implemented Interfaces:
org.refcodes.mixin.PortAccessor
public class PortAlreadyBoundRuntimeException extends PortNotFoundRuntimeException implements org.refcodes.mixin.PortAccessor
Thrown in case the given portgetPort()
is already in use.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description PortAlreadyBoundRuntimeException(int aPort, java.lang.String message)
Instantiates a new port already bound runtime exception.PortAlreadyBoundRuntimeException(int aPort, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new port already bound runtime exception.PortAlreadyBoundRuntimeException(int aPort, java.lang.String message, java.lang.Throwable cause)
Instantiates a new port already bound runtime exception.PortAlreadyBoundRuntimeException(int aPort, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new port already bound runtime exception.PortAlreadyBoundRuntimeException(int aPort, java.lang.Throwable cause)
Instantiates a new port already bound runtime exception.PortAlreadyBoundRuntimeException(int aPort, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new port already bound runtime exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPort()
-
-
-
Constructor Detail
-
PortAlreadyBoundRuntimeException
public PortAlreadyBoundRuntimeException(int aPort, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new port already bound runtime exception.- Parameters:
aPort
- the portaMessage
- the messageaErrorCode
- the error code
-
PortAlreadyBoundRuntimeException
public PortAlreadyBoundRuntimeException(int aPort, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new port already bound runtime exception.- Parameters:
aPort
- the portaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
PortAlreadyBoundRuntimeException
public PortAlreadyBoundRuntimeException(int aPort, java.lang.String message, java.lang.Throwable cause)
Instantiates a new port already bound runtime exception.- Parameters:
aPort
- the portmessage
- the messagecause
- the cause
-
PortAlreadyBoundRuntimeException
public PortAlreadyBoundRuntimeException(int aPort, java.lang.String message)
Instantiates a new port already bound runtime exception.- Parameters:
aPort
- the portmessage
- the message
-
PortAlreadyBoundRuntimeException
public PortAlreadyBoundRuntimeException(int aPort, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new port already bound runtime exception.- Parameters:
aPort
- the portaCause
- the causeaErrorCode
- the error code
-
PortAlreadyBoundRuntimeException
public PortAlreadyBoundRuntimeException(int aPort, java.lang.Throwable cause)
Instantiates a new port already bound runtime exception.- Parameters:
aPort
- the portcause
- the cause
-
-