Class BadRequestException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BadRequestException
    extends HttpFailureException
    HTTP exception for 404 Bad Request.
    Since:
    1.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadRequestException​(java.lang.Throwable cause)
      Constructs a new HTTP bad request exception with the specified cause.
    • 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

      • BadRequestException

        public BadRequestException​(java.lang.Throwable cause)
        Constructs a new HTTP bad request exception with 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