public class StrictErrorHandler implements ConsistentErrorHandler
A strict error handler, which will throw MemcacheServiceException or InvalidValueException for any service error condition.
Implements
ConsistentErrorHandlerConstructors
StrictErrorHandler()
public StrictErrorHandler()
Methods
handleDeserializationError(InvalidValueException t)
public void handleDeserializationError(InvalidValueException t)
Throws InvalidValueException for any call.
Parameter | |
---|---|
Name | Description |
t |
InvalidValueException the classpath error exception |
handleServiceError(MemcacheServiceException t)
public void handleServiceError(MemcacheServiceException t)
Throws MemcacheServiceException for any call.
Parameter | |
---|---|
Name | Description |
t |
MemcacheServiceException the service error exception |