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 TypeMethodDescriptionvoid
ThrowsInvalidValueException
for any call.void
ThrowsMemcacheServiceException
for any call.
-
Constructor Details
-
StrictErrorHandler
public StrictErrorHandler()
-
-
Method Details
-
handleDeserializationError
ThrowsInvalidValueException
for any call.- Specified by:
handleDeserializationError
in interfaceConsistentErrorHandler
- Specified by:
handleDeserializationError
in interfaceErrorHandler
- Parameters:
t
- the classpath error exception- Throws:
MemcacheServiceException
- for any service error.
-
handleServiceError
ThrowsMemcacheServiceException
for any call.- Specified by:
handleServiceError
in interfaceConsistentErrorHandler
- Specified by:
handleServiceError
in interfaceErrorHandler
- Parameters:
t
- the service error exception- Throws:
MemcacheServiceException
- for any service error.
-