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, which is a subclass of \u003ccode\u003eIllegalArgumentException\u003c/code\u003e in the Java API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidationException\u003c/code\u003e is thrown when there are issues with path templates, HTTP configurations, or related framework methods.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers static methods such as \u003ccode\u003epushCurrentThreadValidationContext\u003c/code\u003e to set a thread-local validation context description and \u003ccode\u003epopCurrentThreadValidationContext\u003c/code\u003e to clear it.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is \u003ccode\u003e2.46.1\u003c/code\u003e, and the page also lists previous versions down to \u003ccode\u003e2.1.2\u003c/code\u003e of the \u003ccode\u003eValidationException\u003c/code\u003e, offering links to each version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eValidationException\u003c/code\u003e comes with inherited members from the \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eThrowable\u003c/code\u003e class such as \u003ccode\u003eclone()\u003c/code\u003e and \u003ccode\u003eprintStackTrace()\u003c/code\u003e respectively.\u003c/p\u003e\n"]]],[],null,[]]