java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.net.NetRuntimeException
org.refcodes.net.PortNotFoundRuntimeException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
- Direct Known Subclasses:
PortAlreadyBoundRuntimeException
Thrown in case no port can be determined.
- See Also:
-
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
ConstructorDescriptionPortNotFoundRuntimeException
(String message) Instantiates a new port not found runtime exception.PortNotFoundRuntimeException
(String aMessage, String aErrorCode) Instantiates a new port not found runtime exception.PortNotFoundRuntimeException
(String message, Throwable cause) Instantiates a new port not found runtime exception.PortNotFoundRuntimeException
(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new port not found runtime exception.Instantiates a new port not found runtime exception.PortNotFoundRuntimeException
(Throwable aCause, String aErrorCode) Instantiates a new port not found runtime exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PortNotFoundRuntimeException
Instantiates a new port not found runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
PortNotFoundRuntimeException
Instantiates a new port not found runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
PortNotFoundRuntimeException
Instantiates a new port not found runtime exception.- Parameters:
message
- the messagecause
- the cause
-
PortNotFoundRuntimeException
Instantiates a new port not found runtime exception.- Parameters:
message
- the message
-
PortNotFoundRuntimeException
Instantiates a new port not found runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
PortNotFoundRuntimeException
Instantiates a new port not found runtime exception.- Parameters:
cause
- the cause
-