public class StrictErrorHandler extends java.lang.Object implements ConsistentErrorHandler
MemcacheServiceException
or InvalidValueException
for any service error condition.Constructor and Description |
---|
StrictErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleDeserializationError(InvalidValueException t)
Throws
InvalidValueException for any call. |
void |
handleServiceError(MemcacheServiceException t)
Throws
MemcacheServiceException for any call. |
public void handleDeserializationError(InvalidValueException t)
InvalidValueException
for any call.handleDeserializationError
in interface ConsistentErrorHandler
handleDeserializationError
in interface ErrorHandler
t
- the classpath error exceptionMemcacheServiceException
- for any service error.public void handleServiceError(MemcacheServiceException t)
MemcacheServiceException
for any call.handleServiceError
in interface ConsistentErrorHandler
handleServiceError
in interface ErrorHandler
t
- the service error exceptionMemcacheServiceException
- for any service error.