Class StrictErrorHandler
- java.lang.Object
-
- com.google.appengine.api.memcache.StrictErrorHandler
-
- All Implemented Interfaces:
ConsistentErrorHandler,ErrorHandler
public class StrictErrorHandler extends Object implements ConsistentErrorHandler
A strict error handler, which will throwMemcacheServiceExceptionorInvalidValueExceptionfor any service error condition.
-
-
Constructor Summary
Constructors Constructor Description StrictErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleDeserializationError(InvalidValueException t)ThrowsInvalidValueExceptionfor any call.voidhandleServiceError(MemcacheServiceException t)ThrowsMemcacheServiceExceptionfor any call.
-
-
-
Method Detail
-
handleDeserializationError
public void handleDeserializationError(InvalidValueException t)
ThrowsInvalidValueExceptionfor any call.- Specified by:
handleDeserializationErrorin interfaceConsistentErrorHandler- Specified by:
handleDeserializationErrorin interfaceErrorHandler- Parameters:
t- the classpath error exception- Throws:
MemcacheServiceException- for any service error.
-
handleServiceError
public void handleServiceError(MemcacheServiceException t)
ThrowsMemcacheServiceExceptionfor any call.- Specified by:
handleServiceErrorin interfaceConsistentErrorHandler- Specified by:
handleServiceErrorin interfaceErrorHandler- Parameters:
t- the service error exception- Throws:
MemcacheServiceException- for any service error.
-
-