Class ErrorHandlers
java.lang.Object
com.google.appengine.api.memcache.ErrorHandlers
Static utility for getting built-in
ErrorHandlers.-
Method Summary
Modifier and TypeMethodDescriptionstatic LogAndContinueErrorHandlergetConsistentLogAndContinue(Level logLevel) Returns an instance ofConsistentLogAndContinueErrorHandlerthat handles allMemcacheServiceExceptionexceptions.static ErrorHandlerReturns the default error handler.static LogAndContinueErrorHandlergetLogAndContinue(Level logLevel) Deprecated.static StrictErrorHandlerReturns an instance ofStrictErrorHandler.
-
Method Details
-
getStrict
Returns an instance ofStrictErrorHandler. -
getLogAndContinue
Deprecated.UsegetConsistentLogAndContinue(Level)insteadReturns an instance ofLogAndContinueErrorHandler. To make sure that allMemcacheServiceExceptionexceptions are handled by theErrorHandlerusegetConsistentLogAndContinue(Level)instead. -
getConsistentLogAndContinue
Returns an instance ofConsistentLogAndContinueErrorHandlerthat handles allMemcacheServiceExceptionexceptions. -
getDefault
Returns the default error handler.
-
getConsistentLogAndContinue(Level)instead