public class InvalidValueException extends RuntimeException
Thrown when a cache entry has content, but it cannot be read. For example:
- An attempt to MemcacheService#increment a non-integral value
- Version skew between your application and the data in the cache, causing a serialization error.
Constructors
InvalidValueException(String message)
public InvalidValueException(String message)
Parameter | |
---|---|
Name | Description |
message |
String |
InvalidValueException(String message, Throwable t)
public InvalidValueException(String message, Throwable t)
Parameters | |
---|---|
Name | Description |
message |
String |
t |
Throwable |