[[["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-08-07 UTC."],[[["\u003cp\u003e\u003ccode\u003eStrictErrorHandler\u003c/code\u003e is a class that implements the \u003ccode\u003eConsistentErrorHandler\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed to throw either a \u003ccode\u003eMemcacheServiceException\u003c/code\u003e or an \u003ccode\u003eInvalidValueException\u003c/code\u003e when encountering any type of service error.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehandleDeserializationError\u003c/code\u003e method specifically throws an \u003ccode\u003eInvalidValueException\u003c/code\u003e upon being called.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehandleServiceError\u003c/code\u003e method throws a \u003ccode\u003eMemcacheServiceException\u003c/code\u003e whenever it is invoked.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits many members from the \u003ccode\u003ejava.lang.Object\u003c/code\u003e class, including methods for object comparison, notification, and string representation.\u003c/p\u003e\n"]]],[],null,["# Class StrictErrorHandler (2.0.0)\n\n public class StrictErrorHandler implements ConsistentErrorHandler\n\nA strict error handler, which will throw [MemcacheServiceException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.MemcacheServiceException)\nor [InvalidValueException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.InvalidValueException) for any service error condition. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e StrictErrorHandler \n\nImplements\n----------\n\n[ConsistentErrorHandler](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.ConsistentErrorHandler) \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### StrictErrorHandler()\n\n public StrictErrorHandler()\n\nMethods\n-------\n\n### handleDeserializationError(InvalidValueException t)\n\n public void handleDeserializationError(InvalidValueException t)\n\nThrows [InvalidValueException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.InvalidValueException) for any call.\n\n### handleServiceError(MemcacheServiceException t)\n\n public void handleServiceError(MemcacheServiceException t)\n\nThrows [MemcacheServiceException](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.memcache.MemcacheServiceException) for any call."]]