|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.memcache.LogAndContinueErrorHandler
public class LogAndContinueErrorHandler
The default error handler, which will cause most service errors to behave as though there were a cache miss, not an error.
Constructor Summary | |
---|---|
LogAndContinueErrorHandler(java.util.logging.Level level)
Constructor for a given logging level. |
Method Summary | |
---|---|
void |
handleDeserializationError(InvalidValueException thrown)
Logs the thrown error condition, but does not expose it to
application code. |
void |
handleServiceError(MemcacheServiceException thrown)
Logs the thrown error condition, but does not expose it to
application code. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogAndContinueErrorHandler(java.util.logging.Level level)
level
- the level at which back-end errors should be logged.Method Detail |
---|
public void handleDeserializationError(InvalidValueException thrown)
thrown
error condition, but does not expose it to
application code.
handleDeserializationError
in interface ErrorHandler
thrown
- the classpath error exceptionpublic void handleServiceError(MemcacheServiceException thrown)
thrown
error condition, but does not expose it to
application code.
handleServiceError
in interface ErrorHandler
thrown
- the service error exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |