public class StrictErrorHandler implements ConsistentErrorHandlerA 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 |
InvalidValueExceptionthe classpath error exception |
handleServiceError(MemcacheServiceException t)
public void handleServiceError(MemcacheServiceException t)Throws MemcacheServiceException for any call.
| Parameter | |
|---|---|
| Name | Description |
t |
MemcacheServiceExceptionthe service error exception |