Exception thrown if there is a validation problem with a path template, http config, or related
framework methods. Comes as an illegal argument exception subclass. Allows to globally set a
thread-local validation context description which each exception inherits.
[[["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-28 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eValidationException\u003c/code\u003e class, a subclass of \u003ccode\u003eIllegalArgumentException\u003c/code\u003e, used for issues within path templates, HTTP configurations, or related framework methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidationException\u003c/code\u003e class allows for setting a thread-local validation context description, which is then inherited by each exception that is thrown.\u003c/p\u003e\n"],["\u003cp\u003eStatic methods are provided to push and pop the current thread's validation context, offering a way to manage and clear context descriptions during the process.\u003c/p\u003e\n"],["\u003cp\u003eThe page also lists the various versions of \u003ccode\u003eValidationException\u003c/code\u003e that are available, with version 2.46.1 being the latest, and links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are provided to create \u003ccode\u003eValidationException\u003c/code\u003e with implicit context, taking a string format and object array as input.\u003c/p\u003e\n"]]],[],null,[]]