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-04-09 UTC."],[[["This webpage details the `ValidationException` class, a subclass of `IllegalArgumentException`, used for issues within path templates, HTTP configurations, or related framework methods."],["The `ValidationException` class allows for setting a thread-local validation context description, which is then inherited by each exception that is thrown."],["Static 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."],["The page also lists the various versions of `ValidationException` that are available, with version 2.46.1 being the latest, and links to each version's documentation."],["Constructors are provided to create `ValidationException` with implicit context, taking a string format and object array as input."]]],[]]