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 latest version of the API Common library is 2.46.1, with a variety of older versions available for reference, including all the way down to version 2.1.2."],["`ValidationException` is a subclass of `IllegalArgumentException` used to flag issues in path templates, HTTP configurations, or other related framework elements."],["`ValidationException` provides methods to manage a thread-local validation context description, enhancing error handling."],["There are static methods to manage the current thread validation context, which are `popCurrentThreadValidationContext()` and `pushCurrentThreadValidationContext()`, allowing to clear or set the validation context."],["The constructor `ValidationException(String format, Object[] args)` allows creating a validation exception with an implicit context using a format string and arguments."]]],[]]