Class BadMessageException

All Implemented Interfaces:
Serializable

public class BadMessageException extends RuntimeException

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:
  • Constructor Details

    • BadMessageException

      public BadMessageException()
    • BadMessageException

      public BadMessageException(int code)
    • BadMessageException

      public BadMessageException(String reason)
    • BadMessageException

      public BadMessageException(String reason, Throwable cause)
    • BadMessageException

      public BadMessageException(int code, String reason)
    • BadMessageException

      public BadMessageException(int code, String reason, Throwable cause)
  • Method Details

    • getCode

      public int getCode()
    • getReason

      public String getReason()