java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.net.NetException
org.refcodes.net.NetException.PortException
org.refcodes.net.PortAlreadyBoundException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
,org.refcodes.mixin.PortAccessor
Thrown in case the given port
getPort()
is already in use.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.net.NetException
NetException.PortException
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
Nested classes/interfaces inherited from interface org.refcodes.mixin.PortAccessor
org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty
-
Field Summary
Fields inherited from class org.refcodes.net.NetException.PortException
_port
-
Constructor Summary
ConstructorsConstructorDescriptionPortAlreadyBoundException
(int aPort, Throwable aCause) PortAlreadyBoundException
(int aPort, Throwable aCause, String aErrorCode) PortAlreadyBoundException
(String aMessage, int aPort) PortAlreadyBoundException
(String aMessage, int aPort, String aErrorCode) PortAlreadyBoundException
(String aMessage, int aPort, Throwable aCause) PortAlreadyBoundException
(String aMessage, int aPort, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.net.NetException.PortException
getPatternArguments
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
PortAlreadyBoundException
-
PortAlreadyBoundException
-
PortAlreadyBoundException
-
PortAlreadyBoundException
-
PortAlreadyBoundException
-
PortAlreadyBoundException
-
-
Method Details
-
getPort
public int getPort()- Specified by:
getPort
in interfaceorg.refcodes.mixin.PortAccessor
- Overrides:
getPort
in classNetException.PortException
-