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 `com.google.api.pathtemplate` package, which is a subclass of `IllegalArgumentException` used to signal validation problems in path templates and related configurations."],["The latest version of the API common package is 2.46.1, and there is an extensive list of previous versions available, starting from version 2.45.0 and going down to version 2.1.2."],["The `ValidationException` class allows for a thread-local validation context description to be set, which is then inherited by each exception, enhancing error reporting."],["The class provides static methods `pushCurrentThreadValidationContext` for setting the context and `popCurrentThreadValidationContext` for clearing it, along with a constructor that takes a format string and arguments."],["This class inherits various members and methods from the `Object` and `Throwable` classes."]]],[]]