Class BadMessageException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated(since="2021-05-27")
    public class BadMessageException
    extends java.lang.RuntimeException
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    Exception thrown to indicate a Bad HTTP Message has either been received or attempted to be generated. Typically these are handled with either 400 or 500 responses.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      int getCode()
      Deprecated.
       
      java.lang.String getReason()
      Deprecated.
       
      • Methods inherited from class java.lang.Throwable

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

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

      • BadMessageException

        public BadMessageException()
        Deprecated.
      • BadMessageException

        public BadMessageException​(int code)
        Deprecated.
      • BadMessageException

        public BadMessageException​(java.lang.String reason)
        Deprecated.
      • BadMessageException

        public BadMessageException​(java.lang.String reason,
                                   java.lang.Throwable cause)
        Deprecated.
      • BadMessageException

        public BadMessageException​(int code,
                                   java.lang.String reason)
        Deprecated.
      • BadMessageException

        public BadMessageException​(int code,
                                   java.lang.String reason,
                                   java.lang.Throwable cause)
        Deprecated.
    • Method Detail

      • getCode

        public int getCode()
        Deprecated.
      • getReason

        public java.lang.String getReason()
        Deprecated.