Class ErrorHandlers
java.lang.Object
com.google.appengine.api.memcache.ErrorHandlers
Static utility for getting built-in
ErrorHandler
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic LogAndContinueErrorHandler
getConsistentLogAndContinue
(Level logLevel) Returns an instance ofConsistentLogAndContinueErrorHandler
that handles allMemcacheServiceException
exceptions.static ErrorHandler
Returns the default error handler.static LogAndContinueErrorHandler
getLogAndContinue
(Level logLevel) Deprecated.static StrictErrorHandler
Returns an instance ofStrictErrorHandler
.
-
Method Details
-
getStrict
Returns an instance ofStrictErrorHandler
. -
getLogAndContinue
Deprecated.UsegetConsistentLogAndContinue(Level)
insteadReturns an instance ofLogAndContinueErrorHandler
. To make sure that allMemcacheServiceException
exceptions are handled by theErrorHandler
usegetConsistentLogAndContinue(Level)
instead. -
getConsistentLogAndContinue
Returns an instance ofConsistentLogAndContinueErrorHandler
that handles allMemcacheServiceException
exceptions. -
getDefault
Returns the default error handler.
-
getConsistentLogAndContinue(Level)
instead