java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.net.NetRuntimeException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
- Direct Known Subclasses:
PortNotFoundRuntimeException
public abstract class NetRuntimeException
extends org.refcodes.exception.AbstractRuntimeException
The base runtime exception for networking related issues.
- 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
ConstructorDescriptionNetRuntimeException
(String aMessage) Instantiates a new net runtime exception.NetRuntimeException
(String aMessage, String aErrorCode) Instantiates a new net runtime exception.NetRuntimeException
(String aMessage, Throwable aCause) Instantiates a new net runtime exception.NetRuntimeException
(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new net runtime exception.NetRuntimeException
(Throwable aCause) Instantiates a new net runtime exception.NetRuntimeException
(Throwable aCause, String aErrorCode) Instantiates a new net 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
-
NetRuntimeException
Instantiates a new net runtime exception.- Parameters:
aMessage
- The aMessage describing this exception.aErrorCode
- The error code identifying this exception.
-
NetRuntimeException
Instantiates a new net runtime exception. -
NetRuntimeException
Instantiates a new net runtime exception. -
NetRuntimeException
Instantiates a new net runtime exception.- Parameters:
aMessage
- The aMessage describing this exception.
-
NetRuntimeException
Instantiates a new net runtime exception. -
NetRuntimeException
Instantiates a new net runtime exception.
-