LogAndContinueErrorHandler (Google App Engine API for Java)

com.google.appengine.api.memcache

Class LogAndContinueErrorHandler

  • java.lang.Object
    • com.google.appengine.api.memcache.LogAndContinueErrorHandler
    • Constructor Detail

      • LogAndContinueErrorHandler

        public LogAndContinueErrorHandler(java.util.logging.Level level)
        Constructor for a given logging level.
        Parameters:
        level - the level at which back-end errors should be logged.
    • Method Detail

      • handleDeserializationError

        public void handleDeserializationError(InvalidValueException thrown)
        Logs the thrown error condition, but does not expose it to application code.
        Specified by:
        handleDeserializationError in interface ErrorHandler
        Parameters:
        thrown - the classpath error exception
      • handleServiceError

        public void handleServiceError(MemcacheServiceException thrown)
        Logs the thrown error condition, but does not expose it to application code.
        Specified by:
        handleServiceError in interface ErrorHandler
        Parameters:
        thrown - the service error exception