Class ImATeapotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.digitalcollections.model.api.http.exceptions.HttpException
de.digitalcollections.model.api.http.exceptions.client.HttpClientException
de.digitalcollections.model.api.http.exceptions.client.ImATeapotException
- 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, getStatusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods 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)
-