public final class ErrorHandlers
extends java.lang.Object
ErrorHandler
s.Modifier and Type | Method and Description |
---|---|
static LogAndContinueErrorHandler |
getConsistentLogAndContinue(java.util.logging.Level logLevel)
Returns an instance of
ConsistentLogAndContinueErrorHandler that handles all
MemcacheServiceException exceptions. |
static ErrorHandler |
getDefault()
Returns the default error handler.
|
static LogAndContinueErrorHandler |
getLogAndContinue(java.util.logging.Level logLevel)
Deprecated.
Use
getConsistentLogAndContinue(Level) instead |
static StrictErrorHandler |
getStrict()
Returns an instance of
StrictErrorHandler . |
public static StrictErrorHandler getStrict()
StrictErrorHandler
.@Deprecated public static LogAndContinueErrorHandler getLogAndContinue(java.util.logging.Level logLevel)
getConsistentLogAndContinue(Level)
insteadLogAndContinueErrorHandler
.
To make sure that all MemcacheServiceException
exceptions
are handled by the ErrorHandler
use
getConsistentLogAndContinue(Level)
instead.public static LogAndContinueErrorHandler getConsistentLogAndContinue(java.util.logging.Level logLevel)
ConsistentLogAndContinueErrorHandler
that handles all
MemcacheServiceException
exceptions.public static ErrorHandler getDefault()