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-07-02 UTC."],[[["This webpage details the `ValidationException` class within the `com.google.api.pathtemplate` package, which is a subclass of `IllegalArgumentException`."],["The `ValidationException` class is thrown when issues arise with path templates, HTTP configurations, or related framework methods."],["The page lists various versions of this class, from the latest version 2.46.1 down to version 2.1.2, including documentation links to the different versions."],["Static methods `pushCurrentThreadValidationContext` and `popCurrentThreadValidationContext` are available for managing the validation context description, which can be set for each thread individually."],["The `ValidationException` has one constructor: `ValidationException(String format, Object[] args)`, that can create an exception instance with an implicit context."]]],[]]