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\u003eThe \u003ccode\u003eValidationException\u003c/code\u003e class is designed to handle validation issues related to path templates, HTTP configurations, and other framework methods, extending \u003ccode\u003eIllegalArgumentException\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides documentation for multiple versions of the \u003ccode\u003eValidationException\u003c/code\u003e class, starting from version 2.1.2 up to the latest version 2.46.1.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes static methods like \u003ccode\u003epopCurrentThreadValidationContext()\u003c/code\u003e and \u003ccode\u003epushCurrentThreadValidationContext()\u003c/code\u003e for managing thread-specific validation context descriptions.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits several members from \u003ccode\u003eObject\u003c/code\u003e and \u003ccode\u003eThrowable\u003c/code\u003e, including methods for managing stack traces, messages, and other exception properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eValidationException\u003c/code\u003e constructor allows creating exceptions with a format string and arguments for constructing an error message, with an implicit context.\u003c/p\u003e\n"]]],[],null,[]]