Class ImATeapotException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
All Implemented Interfaces:
java.io.Serializable

public class ImATeapotException
extends HttpClientException
HttpStatusCode 418 denoting the api is wrongfully using a teapot for making coffee as specified in the Hyper Text Coffee Pot Control Protocol (see RFC 2324 for details).
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    ImATeapotException​(java.lang.String methodKey, int status, java.lang.String request)  
  • Method Summary

    Methods inherited from class de.digitalcollections.model.api.http.exceptions.HttpException

    getMethodKey, getRequest, getStatus

    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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ImATeapotException

      public ImATeapotException​(java.lang.String methodKey, int status, java.lang.String request)