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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["This webpage details the `ValidationException` class within the Google API Common library, which is a subclass of `IllegalArgumentException`."],["`ValidationException` is thrown when there are issues with path templates, HTTP configurations, or related framework methods."],["The page lists available versions of the library, ranging from 2.46.1 (latest) down to 2.1.2, and it details the different versions available."],["The `ValidationException` class includes static methods to manage a thread-local validation context, such as `pushCurrentThreadValidationContext` and `popCurrentThreadValidationContext`, allowing to set and clear the validation context description."],["Inherited methods from `Object` and `Throwable` classes are outlined, including methods like `clone()`, `equals(Object)`, `getMessage()`, and `printStackTrace()`."]]],[]]