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