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
NameDescription
tInvalidValueException

the classpath error exception

handleServiceError(MemcacheServiceException t)

public void handleServiceError(MemcacheServiceException t)

Throws MemcacheServiceException for any call.

Parameter
NameDescription
tMemcacheServiceException

the service error exception