Class NetException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.net.NetException
All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Direct Known Subclasses:
PortNotFoundException

public abstract class NetException extends org.refcodes.exception.AbstractException
The base exception for networking related issues.
See Also:
  • Constructor Details

    • NetException

      public NetException(String aMessage, String aErrorCode)
      Instantiates a new net exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • NetException

      public NetException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new net exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • NetException

      public NetException(String message, Throwable cause)
      Instantiates a new net exception.
      Parameters:
      message - the message
      cause - the cause
    • NetException

      public NetException(String message)
      Instantiates a new net exception.
      Parameters:
      message - the message
    • NetException

      public NetException(Throwable aCause, String aErrorCode)
      Instantiates a new net exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • NetException

      public NetException(Throwable cause)
      Instantiates a new net exception.
      Parameters:
      cause - the cause