Class StrictErrorHandler (2.0.0)

public class StrictErrorHandler implements ConsistentErrorHandler

A strict error handler, which will throw MemcacheServiceException or InvalidValueException for any service error condition.

Inheritance

java.lang.Object > StrictErrorHandler

Constructors

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