[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eLogAndContinueErrorHandler\u003c/code\u003e is the default error handler that treats most service errors as cache misses rather than actual errors.\u003c/p\u003e\n"],["\u003cp\u003eIt implements the \u003ccode\u003eErrorHandler\u003c/code\u003e interface and inherits from \u003ccode\u003ejava.lang.Object\u003c/code\u003e, with inherited members like \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor \u003ccode\u003eLogAndContinueErrorHandler(Level level)\u003c/code\u003e allows you to set the logging level for back-end errors.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ehandleDeserializationError(InvalidValueException thrown)\u003c/code\u003e and \u003ccode\u003ehandleServiceError(MemcacheServiceException thrown)\u003c/code\u003e are methods that log errors without exposing them to the application.\u003c/p\u003e\n"],["\u003cp\u003eTo ensure that all \u003ccode\u003eMemcacheServiceException\u003c/code\u003e errors are directed to an error handler, it's recommended to use \u003ccode\u003eConsistentErrorHandler\u003c/code\u003e instead, such as \u003ccode\u003eErrorHandlers#getConsistentLogAndContinue(Level)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class LogAndContinueErrorHandler (2.0.0)\n\n public class LogAndContinueErrorHandler implements ErrorHandler\n\nThe default error handler, which will cause most service errors to behave\nas though there were a cache miss, not an error.\n\nTo guarantee that all [MemcacheServiceException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.MemcacheServiceException) are directed to\nthe error handler use a [ConsistentErrorHandler](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.ConsistentErrorHandler) instead such as\n[ErrorHandlers#getConsistentLogAndContinue(Level)](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.ErrorHandlers#com_google_appengine_api_memcache_ErrorHandlers_getConsistentLogAndContinue_java_util_logging_Level_). \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e LogAndContinueErrorHandler \n\nImplements\n----------\n\n[ErrorHandler](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.ErrorHandler) \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### LogAndContinueErrorHandler(Level level)\n\n public LogAndContinueErrorHandler(Level level)\n\nConstructor for a given logging level.\n\nMethods\n-------\n\n### handleDeserializationError(InvalidValueException thrown)\n\n public void handleDeserializationError(InvalidValueException thrown)\n\nLogs the `thrown` error condition, but does not expose it to\napplication code.\n\n### handleServiceError(MemcacheServiceException thrown)\n\n public void handleServiceError(MemcacheServiceException thrown)\n\nLogs the `thrown` error condition, but does not expose it to\napplication code."]]