Class ErrorHandlers
- java.lang.Object
-
- com.google.appengine.api.memcache.ErrorHandlers
-
public final class ErrorHandlers extends Object
Static utility for getting built-inErrorHandler
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LogAndContinueErrorHandler
getConsistentLogAndContinue(Level logLevel)
Returns an instance ofConsistentLogAndContinueErrorHandler
that handles allMemcacheServiceException
exceptions.static ErrorHandler
getDefault()
Returns the default error handler.static LogAndContinueErrorHandler
getLogAndContinue(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(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(Level logLevel)
Returns an instance ofConsistentLogAndContinueErrorHandler
that handles allMemcacheServiceException
exceptions.
-
getDefault
public static ErrorHandler getDefault()
Returns the default error handler.
-
-