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 message
      aErrorCode - the error code
    • 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 message
      aCause - the cause
      aErrorCode - the error code
    • HttpResponseRuntimeException

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, String message, Throwable cause)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      message - the message
      cause - the cause
    • HttpResponseRuntimeException

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

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

      public HttpResponseRuntimeException(HttpStatusCode aStatusCode, Throwable cause)
      Instantiates a new http response runtime exception.
      Parameters:
      aStatusCode - the status code
      cause - the cause