Class HttpStatusRuntimeException

    • Constructor Detail

      • HttpStatusRuntimeException

        protected HttpStatusRuntimeException​(int aStatusCode,
                                             String message)
        Instantiates a new http status runtime exception.
        Parameters:
        aStatusCode - the status code
        message - the message
      • HttpStatusRuntimeException

        public HttpStatusRuntimeException​(HttpStatusCode aStatusCode,
                                          String aMessage,
                                          String aErrorCode)
        Instantiates a new http status runtime exception.
        Parameters:
        aStatusCode - the status code
        aMessage - the message
        aErrorCode - the error code
      • HttpStatusRuntimeException

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

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

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

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

        public HttpStatusRuntimeException​(HttpStatusCode aStatusCode,
                                          Throwable cause)
        Instantiates a new http status runtime exception.
        Parameters:
        aStatusCode - the status code
        cause - the cause
    • Method Detail

      • getStatusCode

        public HttpStatusCode getStatusCode​()
        Specified by:
        getStatusCode in interface org.refcodes.mixin.StatusCodeAccessor<HttpStatusCode>