Class ETagDoesntMatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.data.rest.webmvc.support.ETagDoesntMatchException
- All Implemented Interfaces:
Serializable
An exception being thrown in case the
ETag
calculated for a particular object does not match an expected one.- Author:
- Oliver Gierke
- See Also:
-
Constructor Summary
ConstructorDescriptionETagDoesntMatchException
(Object bean, ETag expected) Creates a newETagDoesntMatchException
for the given bean as well as theETag
it was expected to match. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ETagDoesntMatchException
Creates a newETagDoesntMatchException
for the given bean as well as theETag
it was expected to match.- Parameters:
bean
- must not be null.expected
- must not be null.
-
-
Method Details