Class LogAndContinueErrorHandler
java.lang.Object
com.google.appengine.api.memcache.LogAndContinueErrorHandler
- All Implemented Interfaces:
ErrorHandler
- Direct Known Subclasses:
ConsistentLogAndContinueErrorHandler
The default error handler, which will cause most service errors to behave
as though there were a cache miss, not an error.
To guarantee that all MemcacheServiceException are directed to
the error handler use a ConsistentErrorHandler instead such as
ErrorHandlers.getConsistentLogAndContinue(Level).
-
Constructor Summary
ConstructorsConstructorDescriptionLogAndContinueErrorHandler(Level level) Constructor for a given logging level. -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs thethrownerror condition, but does not expose it to application code.voidLogs thethrownerror condition, but does not expose it to application code.
-
Constructor Details
-
LogAndContinueErrorHandler
Constructor for a given logging level.- Parameters:
level- the level at which back-end errors should be logged.
-
-
Method Details
-
handleDeserializationError
Logs thethrownerror condition, but does not expose it to application code.- Specified by:
handleDeserializationErrorin interfaceErrorHandler- Parameters:
thrown- the classpath error exception
-
handleServiceError
Logs thethrownerror condition, but does not expose it to application code.- Specified by:
handleServiceErrorin interfaceErrorHandler- Parameters:
thrown- the service error exception
-