Class WebException

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

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

      • WebException

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

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

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

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

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

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