Class HttpException.NotImplementedException

  • All Implemented Interfaces:
    Enclosing class:

    public static final class HttpException.NotImplementedException
    extends HttpException
    Exception that causes a 501 response.
    See Also:
    Serialized Form
    • Constructor Detail

      • NotImplementedException

        public NotImplementedException​(java.lang.String message)
    • Method Detail

      • getResponseCodeString

        public java.lang.String getResponseCodeString()
        Description copied from class: HttpException
        Returns the string associated with a particular response code. Unlike Throwable.getMessage(), which is meant to describe the circumstances under which this particular exception occurred, this method always returns the same string (e.g. "Not Found" for a 400 error), and so should always be the same for a given subclass of HttpException.
        getResponseCodeString in class HttpException