Class ImATeapotException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.digitalcollections.cudami.client.exceptions.HttpException
-
- de.digitalcollections.cudami.client.exceptions.client.HttpClientException
-
- de.digitalcollections.cudami.client.exceptions.client.ImATeapotException
-
- All Implemented Interfaces:
Serializable
public class ImATeapotException extends HttpClientException
HttpStatusCode 413 denoting the client is wrongfully using a teapot for making coffee as specified in the Hyper Text Coffee Pot Control Protocoll (see RFC 2324 for details).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImATeapotException(String methodKey, int statusCode)
-
Method Summary
-
Methods inherited from class de.digitalcollections.cudami.client.exceptions.HttpException
getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ImATeapotException
public ImATeapotException(String methodKey, int statusCode)
-
-