Class HttpResponseRuntimeException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>
Direct Known Subclasses:
BadInvocationRuntimeException, BadResponseRuntimeException

public abstract class HttpResponseRuntimeException extends HttpStatusRuntimeException
Thrown by a HTTP-Response handling system in case of some unexpected response.
See Also:
  • Constructor Details

    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, String aMessage, String aErrorCode)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, String aMessage, Throwable aCause)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, String aMessage)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      aMessage - The aMessage describing this exception.
    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, Throwable aCause, String aErrorCode)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, Throwable aCause)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      aCause - The Throwable (Exception) causing this exception.