com.google.appengine.api.memcache
Class ErrorHandlers
- java.lang.Object
-
- com.google.appengine.api.memcache.ErrorHandlers
-
public final class ErrorHandlers extends java.lang.Object
Static utility for getting built-inErrorHandler
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description static LogAndContinueErrorHandler
getConsistentLogAndContinue(java.util.logging.Level logLevel)
Returns an instance ofConsistentLogAndContinueErrorHandler
that handles allMemcacheServiceException
exceptions.static ErrorHandler
getDefault()
Returns the default error handler.static LogAndContinueErrorHandler
getLogAndContinue(java.util.logging.Level logLevel)
Deprecated.UsegetConsistentLogAndContinue(Level)
insteadstatic StrictErrorHandler
getStrict()
Returns an instance ofStrictErrorHandler
.
-
-
-
Method Detail
-
getStrict
public static StrictErrorHandler getStrict()
Returns an instance ofStrictErrorHandler
.
-
getLogAndContinue
@Deprecated public static LogAndContinueErrorHandler getLogAndContinue(java.util.logging.Level logLevel)
Deprecated. UsegetConsistentLogAndContinue(Level)
insteadReturns an instance ofLogAndContinueErrorHandler
. To make sure that allMemcacheServiceException
exceptions are handled by theErrorHandler
usegetConsistentLogAndContinue(Level)
instead.
-
getConsistentLogAndContinue
public static LogAndContinueErrorHandler getConsistentLogAndContinue(java.util.logging.Level logLevel)
Returns an instance ofConsistentLogAndContinueErrorHandler
that handles allMemcacheServiceException
exceptions.
-
getDefault
public static ErrorHandler getDefault()
Returns the default error handler.
-
-