Class NetException

  • All Implemented Interfaces:
    Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
    Direct Known Subclasses:
    HttpException, PortNotFoundException

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

      • 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