com.google.appengine.api.memcache
Class ErrorHandlers
- java.lang.Object
-
- com.google.appengine.api.memcache.ErrorHandlers
-
public final class ErrorHandlers extends java.lang.ObjectStatic utility for getting built-inErrorHandlers.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description static LogAndContinueErrorHandlergetConsistentLogAndContinue(java.util.logging.Level logLevel)Returns an instance ofConsistentLogAndContinueErrorHandlerthat handles allMemcacheServiceExceptionexceptions.static ErrorHandlergetDefault()Returns the default error handler.static LogAndContinueErrorHandlergetLogAndContinue(java.util.logging.Level logLevel)Deprecated.UsegetConsistentLogAndContinue(Level)insteadstatic StrictErrorHandlergetStrict()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 allMemcacheServiceExceptionexceptions are handled by theErrorHandlerusegetConsistentLogAndContinue(Level)instead.
-
getConsistentLogAndContinue
public static LogAndContinueErrorHandler getConsistentLogAndContinue(java.util.logging.Level logLevel)
Returns an instance ofConsistentLogAndContinueErrorHandlerthat handles allMemcacheServiceExceptionexceptions.
-
getDefault
public static ErrorHandler getDefault()
Returns the default error handler.
-
-