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 aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • HttpException

      public HttpException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new http exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • HttpException

      public HttpException(String aMessage, Throwable aCause)
      Instantiates a new http exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • HttpException

      public HttpException(String aMessage)
      Instantiates a new http exception.
      Parameters:
      aMessage - The aMessage describing this exception.
    • HttpException

      public HttpException(Throwable aCause, String aErrorCode)
      Instantiates a new http exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • HttpException

      public HttpException(Throwable aCause)
      Instantiates a new http exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.