Class HttpException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.web.WebException
org.refcodes.web.HttpException
All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Direct Known Subclasses:
HttpStatusException

public abstract class HttpException extends WebException
Base exception HTTP related problems.
See Also:
  • Constructor Details

    • HttpException

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

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

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

      public HttpException(String message)
      Instantiates a new http exception.
      Parameters:
      message - the message
    • HttpException

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

      public HttpException(Throwable cause)
      Instantiates a new http exception.
      Parameters:
      cause - the cause