Class StrictErrorHandler
java.lang.Object
com.google.appengine.api.memcache.StrictErrorHandler
- All Implemented Interfaces:
ConsistentErrorHandler,ErrorHandler
A strict error handler, which will throw
MemcacheServiceException
or InvalidValueException for any service error condition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThrowsInvalidValueExceptionfor any call.voidThrowsMemcacheServiceExceptionfor any call.
-
Constructor Details
-
StrictErrorHandler
public StrictErrorHandler()
-
-
Method Details
-
handleDeserializationError
ThrowsInvalidValueExceptionfor any call.- Specified by:
handleDeserializationErrorin interfaceConsistentErrorHandler- Specified by:
handleDeserializationErrorin interfaceErrorHandler- Parameters:
t- the classpath error exception- Throws:
MemcacheServiceException- for any service error.
-
handleServiceError
ThrowsMemcacheServiceExceptionfor any call.- Specified by:
handleServiceErrorin interfaceConsistentErrorHandler- Specified by:
handleServiceErrorin interfaceErrorHandler- Parameters:
t- the service error exception- Throws:
MemcacheServiceException- for any service error.
-