Class HTTPProcessingException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContentTooLargeException, RequestHeadersTooLargeException, UnprocessableContentException

public abstract class HTTPProcessingException extends RuntimeException
A base HTTP processing exception that is able to suggest a status code to return the client.
See Also:
  • Field Details

    • status

      protected final int status
    • statusMessage

      protected final String statusMessage
  • Constructor Details

    • HTTPProcessingException

      protected HTTPProcessingException(int status, String statusMessage)
    • HTTPProcessingException

      protected HTTPProcessingException(int status, String statusMessage, String detailedMessage)
  • Method Details

    • getStatus

      public int getStatus()
    • getStatusMessage

      public String getStatusMessage()