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-07-01 UTC."],[[["The `ValidationException` class is designed to handle validation issues related to path templates, HTTP configurations, and other framework methods, extending `IllegalArgumentException`."],["This page provides documentation for various versions of `ValidationException`, from version 2.1.2 up to the latest 2.46.1."],["`ValidationException` allows for setting a thread-local validation context, which each exception will inherit, using static methods like `pushCurrentThreadValidationContext` and `popCurrentThreadValidationContext`."],["The `ValidationException` can be constructed with a format string and arguments that it will use to build the error message."],["The page lists inherited members from `Object` and `Throwable`, providing links to their respective documentation for additional information."]]],[]]