Class SimpleHttpFailureException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.netty.handler.codec.http.HttpResponseStatus status()
      Returns the failure status.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SimpleHttpFailureException

        public SimpleHttpFailureException​(io.netty.handler.codec.http.HttpResponseStatus status,
                                          java.lang.String message,
                                          java.lang.Throwable cause)
        Constructs a new SimpleHttpFailureException instance with the specified status, message and cause.
        Parameters:
        status - the failure status
        message - the detail message
        cause - the cause
      • SimpleHttpFailureException

        public SimpleHttpFailureException​(io.netty.handler.codec.http.HttpResponseStatus status,
                                          java.lang.String message)
        Constructs a new SimpleHttpFailureException instance with the specified status and message.
        Parameters:
        status - the failure status
        message - the detail message
      • SimpleHttpFailureException

        public SimpleHttpFailureException​(java.lang.String message,
                                          java.lang.Throwable cause)
        Constructs a new SimpleHttpFailureException instance with the status "500 Internal Server Error" and the specified message and cause.
        Parameters:
        message - the detail message
        cause - the cause
      • SimpleHttpFailureException

        public SimpleHttpFailureException​(java.lang.String message)
        Constructs a new SimpleHttpFailureException instance with the status "500 Internal Server Error" and the specified message.
        Parameters:
        message - the detail message
      • SimpleHttpFailureException

        public SimpleHttpFailureException​(java.lang.Throwable cause)
        Constructs a new SimpleHttpFailureException instance with the status "500 Internal Server Error" and the specified cause.
        Parameters:
        cause - the cause
    • Method Detail

      • status

        public io.netty.handler.codec.http.HttpResponseStatus status()
        Description copied from class: HttpFailureException
        Returns the failure status.
        Specified by:
        status in class HttpFailureException
        Returns:
        the failure status