- 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
public class PortNotFoundRuntimeException extends NetRuntimeException
Thrown in case no port can be determined.- 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 PortNotFoundRuntimeException(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.PortNotFoundRuntimeException(Throwable cause)
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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PortNotFoundRuntimeException
public PortNotFoundRuntimeException(String aMessage, String aErrorCode)
Instantiates a new port not found runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
PortNotFoundRuntimeException
public PortNotFoundRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new port not found runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
PortNotFoundRuntimeException
public PortNotFoundRuntimeException(String message, Throwable cause)
Instantiates a new port not found runtime exception.- Parameters:
message
- the messagecause
- the cause
-
PortNotFoundRuntimeException
public PortNotFoundRuntimeException(String message)
Instantiates a new port not found runtime exception.- Parameters:
message
- the message
-
PortNotFoundRuntimeException
public PortNotFoundRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new port not found runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
PortNotFoundRuntimeException
public PortNotFoundRuntimeException(Throwable cause)
Instantiates a new port not found runtime exception.- Parameters:
cause
- the cause
-
-